Fix import references after renaming to agent_bridge_secure
Some checks failed
CI / Security Components Test (push) Has been cancelled
CI / Secret Scanning (push) Has been cancelled
CI / Code Quality (push) Has been cancelled
CI / All Checks Passed (push) Has been cancelled

- Updated test_bridge.py: import from agent_bridge_secure
- Updated test_security.py: import from agent_bridge_secure
- Updated bridge_cli.py: default DB path to /tmp/agent_bridge_secure.db
- Updated PRODUCTION.md: all references to agent_bridge_secure.py
- Updated RELEASE_NOTES.md: all references to agent_bridge_secure.py

Fixes ModuleNotFoundError when running tests after the rename.

🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
dannystocker 2025-11-14 01:28:57 +01:00
parent 418ded42a9
commit 9cb6fc4a7b
5 changed files with 8 additions and 8 deletions

View file

@ -132,7 +132,7 @@ pip install mcp>=1.0.0
"mcpServers": {
"bridge": {
"command": "python3",
"args": ["/absolute/path/to/claude_bridge_secure.py"]
"args": ["/absolute/path/to/agent_bridge_secure.py"]
}
}
}
@ -306,7 +306,7 @@ scripts/production/fs-watcher.sh <conv_id> <token> &
**Solution:**
```python
# Increase rate limits in claude_bridge_secure.py
# Increase rate limits in agent_bridge_secure.py
RATE_LIMITS = {
"per_minute": 100, # Increased from 10
"per_hour": 500,
@ -382,7 +382,7 @@ scripts/production/keepalive-daemon.sh "$CONV_ID" "$TOKEN" &
**Solution:**
```python
# Enable WAL mode (automatic in claude_bridge_secure.py)
# Enable WAL mode (automatic in agent_bridge_secure.py)
conn.execute('PRAGMA journal_mode=WAL')
```

View file

@ -129,7 +129,7 @@ cd mcp-multiagent-bridge
pip install mcp>=1.0.0
# Make executable
chmod +x claude_bridge_secure.py
chmod +x agent_bridge_secure.py
```
### 2. Configure MCP Server
@ -141,7 +141,7 @@ Add to `~/.claude.json`:
"mcpServers": {
"bridge": {
"command": "python3",
"args": ["/absolute/path/to/claude_bridge_secure.py"],
"args": ["/absolute/path/to/agent_bridge_secure.py"],
"env": {}
}
}

View file

@ -11,7 +11,7 @@ from pathlib import Path
class BridgeCLI:
def __init__(self, db_path: str = "/tmp/claude_bridge_secure.db"):
def __init__(self, db_path: str = "/tmp/agent_bridge_secure.db"):
self.db_path = db_path
def list_conversations(self):

View file

@ -11,7 +11,7 @@ from pathlib import Path
import sys
sys.path.insert(0, str(Path(__file__).parent))
from claude_bridge_secure import SecureBridge, SecretRedactor
from agent_bridge_secure import SecureBridge, SecretRedactor
def test_secret_redaction():

View file

@ -122,7 +122,7 @@ def test_integration():
print("\nTesting integration...")
try:
from claude_bridge_secure import SecureBridge, RATE_LIMITER_AVAILABLE
from agent_bridge_secure import SecureBridge, RATE_LIMITER_AVAILABLE
if not RATE_LIMITER_AVAILABLE:
print(" ❌ Rate limiter not integrated into SecureBridge")