feat: claude chat with proxy setup

This commit is contained in:
aedes
2026-04-20 11:22:57 +03:00
parent b1e081b64f
commit ff6214d76b
3 changed files with 33 additions and 11 deletions

View File

@@ -44,8 +44,8 @@
}, },
{ {
"path": "CLAUDE.md", "path": "CLAUDE.md",
"accessCount": 1, "accessCount": 2,
"lastAccessed": 1776671784032, "lastAccessed": 1776673366608,
"type": "file" "type": "file"
}, },
{ {

View File

@@ -1,7 +1,7 @@
{ {
"tool_name": "Bash", "tool_name": "Bash",
"tool_input_preview": "{\"command\":\"cd \\\"/c/Users/aedes/REUNION/sync/scriptsAedes/sechenov\\\" && git init && git remote add origin ssh://git@git.akyra.ru:2222/aedes/sechenov.git && git add . && git commit -m \\\"feat: initial C...", "tool_input_preview": "{\"command\":\"ssh root@194.87.245.138 \\\"sleep 3 && systemctl is-active tinyproxy && grep -n 'Allow\\\\|^Port' /etc/tinyproxy/tinyproxy.conf\\\"\",\"timeout\":20000}",
"error": "Exit code 128\nReinitialized existing Git repository in C:/Users/aedes/REUNION/sync/scriptsAedes/sechenov/.git/\nwarning: in the working copy of 'CLAUDE.md', LF will be replaced by CRLF the next time Git touches it\nwarning: in the working copy of '.env.example', LF will be replaced by CRLF the next time Git touches it\nwarning: in the working copy of '.gitignore', LF will be replaced by CRLF the next time Git touches it\nwarning: in the working copy of '.omc/project-memory.json', LF will be replaced...", "error": "Exit code 3\n** WARNING: connection is not using a post-quantum key exchange algorithm.\r\n** This session may be vulnerable to \"store now, decrypt later\" attacks.\r\n** The server may need to be upgraded. See https://openssh.com/pq.html\r\nfailed",
"timestamp": "2026-04-20T08:06:16.903Z", "timestamp": "2026-04-20T08:18:23.282Z",
"retry_count": 3 "retry_count": 2
} }

View File

@@ -1,20 +1,42 @@
# sechenov - # sechenov — Claude Chat
## Stack ## Stack
- TODO - Node.js + Express (server.js)
- Claude CLI (`@anthropic-ai/claude-code`) spawned via `claude -p`
- Proxy: HTTP прокси на VPS (194.87.245.138:8888) для обхода блокировок
## Structure ## Structure
```
sechenov/ sechenov/
- TODO ├── server.js — Express API + SSE стриминг
├── public/
│ └── index.html — Chat UI (две панели: запрос / ответ)
└── package.json
```
## Models
- Sonnet 4.6 (`claude-sonnet-4-6`)
- Haiku 4.5 (`claude-haiku-4-5-20251001`)
## Auth
- `.credentials.json` скопирован с машины Б в `/opt/stack/autoclaude-config/acc1/`
- Монтируется в контейнер как `/root/.claude`
- При смене аккаунта: `scp ~/.claude/.credentials.json aedes@192.168.1.20:/opt/stack/autoclaude-config/acc1/`
## Local (machine B) ## Local (machine B)
- Path: C:\Users\aedes\REUNION\sync\scriptsAedes\sechenov - Path: C:\Users\aedes\REUNION\sync\scriptsAedes\sechenov
## Remote (Debian V) ## Remote (Debian V)
- Path: /opt/stack/sechenov/ - Path: /opt/stack/sechenov/
- URL: https://cc-sechenov - URL: https://s.akyra.ru
- Port: - - Port: 8108
- Deploy: git push -> ssh aedes@192.168.1.20 "cd /opt/stack/sechenov && git pull && docker compose restart sechenov" - Deploy: git push -> ssh aedes@192.168.1.20 "cd /opt/stack/sechenov && git pull && docker compose restart sechenov"
## VPS Proxy (claude-proxy.service)
- Сервис: `/etc/systemd/system/claude-proxy.service` на VPS 194.87.245.138
- Скрипт: `/opt/claude-proxy.py`
- Порт: 8888
- Env в контейнере: `HTTPS_PROXY=http://194.87.245.138:8888`
## Update this file ## Update this file
After any changes to structure, stack or configs - update this CLAUDE.md. After any changes to structure, stack or configs - update this CLAUDE.md.