Add claude-agent workspace (docs, tools, CLAUDE.md)

Merges the standalone claude-agent repo into romfastsql so its
project docs and conventions are tracked in the main repo.

Co-Authored-By: Claude Agent <noreply@anthropic.com>
This commit is contained in:
Claude Agent
2026-08-31 05:37:28 +00:00
parent 6d6a5b009e
commit 0558bae920
6 changed files with 198 additions and 0 deletions

21
claude-agent/tools/roa2web.sh Executable file
View File

@@ -0,0 +1,21 @@
#!/usr/bin/env bash
# Wrapper peste clientul roa2web deja autentificat pe moltbot (LXC 110, echo-core).
# Nu duplica credentiale aici: ruleaza tools/roa2web_client.py de pe moltbot prin SSH,
# folosind token-ul din keyring-ul lui echo-core.
#
# Uz:
# tools/roa2web.sh companies
# tools/roa2web.sh summary [--company <cod|nume>] [--luna N] [--an N]
# tools/roa2web.sh get <path> [--company <cod|nume>] [--param k=v ...]
#
# Firma implicita (daca omiti --company): ROMFAST SRL (114), din config.json de pe moltbot.
set -euo pipefail
HOST="moltbot@10.0.20.173"
REMOTE_CMD="cd ~/echo-core && .venv/bin/python3 tools/roa2web_client.py"
for arg in "$@"; do
REMOTE_CMD+=" $(printf '%q' "$arg")"
done
exec ssh -o BatchMode=yes -o ConnectTimeout=10 "$HOST" "$REMOTE_CMD"