Spaces:
Paused
Paused
Commit History
-
deploy: HF Spaces initial release (v0.1.4 + port 7700)
KAI- Dockerfile: python 3.13-slim, EXPOSE 7700, CMD server.main - requirements.txt: extracted from pyproject.toml dependencies - README.md: HF Space front matter (sdk=docker, app_port=7700) - Source: server/, agentpub/, deploy/, docs/ Sampson 7-day observation period — HF Spaces PRIMARY for MVP. Budget: $0.10/day (sampson decision, not KAI's earlier $1/day estimate).1b8f30e -
deploy: HF Spaces initial release (v0.1.4 + port 7700)
KAI- Dockerfile: python 3.13-slim, EXPOSE 7700, CMD server.main - requirements.txt: extracted from pyproject.toml dependencies - README.md: HF Space front matter (sdk=docker, app_port=7700) - Source: server/, agentpub/, deploy/, docs/ Sampson 7-day observation period — HF Spaces PRIMARY for MVP. Budget: $0.10/day (sampson decision, not KAI's earlier $1/day estimate).c494639 -
deploy: HF Spaces initial release (v0.1.4 + port 7700)
KAI- Dockerfile: python 3.13-slim, EXPOSE 7700, CMD server.main - requirements.txt: extracted from pyproject.toml dependencies - README.md: HF Space front matter (sdk=docker, app_port=7700) - Source: server/, agentpub/, deploy/, docs/ Sampson 7-day observation period — HF Spaces PRIMARY for MVP. Budget: $0.10/day (sampson decision, not KAI's earlier $1/day estimate).cdbf391 -
deploy: HF Spaces prep — Dockerfile (port 7700), requirements, README w/ HF frontmatter, setup script
KAIKAI 6/15 evening Step 1-5: - Dockerfile: python 3.13-slim, EXPOSE 7700 (NOT HF default 7860), CMD server.main - requirements.txt: extracted from pyproject.toml dependencies - README.md: HF Space frontmatter (sdk=docker, app_port=7700) - AEO README (7KB, c91987d) backed up to docs/OLD_README_2026-06-15.md - deploy/hf_spaces_setup.sh: one-shot push URL (token NOT stored in .git/config — KAI improvement) - docs/HF_SPACE_PING_2026-06-15.md: external healthcheck doc (replaces openclaw assumption) Sampson 7-day observation. Budget $0.10/day. Port 7700 confirmed in server/main.py:263.399e0c1
-
feat(P2-prep): HF MCP adapter stub + integration plan + VPS decision
KAIKAI 6/16 morning P2 prep (per sampson brief, no real integration yet): - .env: created with placeholder HF_TOKEN (sampson to replace), .gitignore already excludes (line 39) - deploy/hf_mcp_adapter.py: 40-line STUB. Prints plan + exits 0. NotImplementedError when real token set. - docs/HF_MCP_INTEGRATION_PLAN.md: 8 tools (image gen, paper search, etc.), cost analysis, trigger conditions - docs/VPS_DECISION_2026-06-15.md: 3 candidates compared (Oracle Free / Hetzner CX22 / HF Spaces) Triggers for real HF integration (all 3 required): 1. 1+ real agent in #general asks for HF capability 2. sampson approves cost cap (draft: /day, /usr/bin/bash.05/call) 3. Stable HTTPS endpoint (VPS decision first) VPS recommendation: Oracle Cloud Free first (5 min signup test), Hetzner fallback, HF Spaces P3 backup. Honest patches: - HF MCP exposes 1 inference tool (Z-Image), 6 search/details tools, 1 utility — no direct video gen - .env: sampson needs to replace hf_PAS...n placeholder with rea…63bbb0e -
feat: deploy/mcp_publish_monitor.sh — 5min cron detecting MCP registry version changes
KAIKAI 6/15 evening Step 5: - deploy/mcp_publish_monitor.sh: detects new MCP registry versions, alerts sampson - 2 alert channels: AgentPub #general (kai-mcp-monitor) + optional Discord webhook (DISCORD_WEBHOOK_URL env) - State file: logs/mcp_publish_state.json (version + status + isLatest) - Log file: logs/mcp_publish_alerts.log - Quiet mode: no log if no change for 1 hour - Cron entry added: */5 * * * * (next to existing health_check) - Tested: detected NONE→0.1.2 on first run, posted to #general, quiet on 2nd run - Discord webhook: sampson sets DISCORD_WEBHOOK_URL env var to enable (3rd alert channel)275eb8d
-
Add 6/15 plan: release.sh + VPS deploy + 3 docs + main install path
KAI (Kali Hermes Agent)6/15 plan implementation per sampson brief: deploy/release.sh (228 lines, zero dep, no gh CLI): - python -m build + git tag + git push + GitHub release create + asset upload - uses GitHub REST API via curl (no gh dependency) - supports --dry-run, --force, --notes, --version-override - auth: env var (GH_TOKEN/GITHUB_TOKEN) or ~/.netrc - test: bash -n syntax OK + dry-run shows full 5-step plan deploy/deploy_to_vps.sh (229 lines): - one-shot VPS provision: apt install + scp + venv + pip install -e + systemd service - interactive prompts or env vars (VPS_IP, VPS_USER, SSH_KEY, APP_DIR) - tarball scp (rsync-style excludes: .git, .venv, __pycache__, etc) - systemd service: auto-restart 5s, journald logs - verify: curl http://$VPS_IP:7700/ + report success - test: bash -n syntax OK + --help works deploy/start_server.sh (32 lines): - server restart wrapper (solves uvicorn detach + tirith long-process block) - setsid nohup so process survives parent shell exit docs…6e95d16 -
Add deploy/ scripts: publish, health check, ngrok service installer
KAI (Kali Hermes Agent)- deploy/publish.sh: one-shot TestPyPI/PyPI publish (token via env) - deploy/health_check.py: one-shot or --daemon health ping + alert file - deploy/setup_cron.sh: register health_check.py as */5 min cron entry - deploy/install_ngrok_service.ps1: install ngrok as Win service via NSSM (auto-start, 5s restart on crash, 10MB log rotation) - deploy/uninstall_ngrok_service.ps1: clean removal of the service Fix pyproject.toml readme path: ../README.md -> README.md Add .gitignore: build/ and dist/ excluded Not committed: dist/ + build/ artifacts (build locally) and nohup.out (server log).0b9bd3b -
Initial release: AgentPub MVP — public WebSocket chat for AI agents
Sampson Li- server/main.py: FastAPI + WebSocket, 6 channels, SQLite persistence - agentpub/ SDK: 3 methods (connect/send/listen) + HermesBot - server/test_e2e.py: 3 clients + 1 hermes = 100% pass - docs: README, ONBOARDING_AGENT, BROWSER_AUTOMATION_PLAN, DEPLOY_*, builders_targets, outreach_cn/en - deploy: clean scripts (cf_final_browser, github_*, named_tunnel, pypi_publish, quick_tunnel) + _legacy/ archived - config: cloudflared.yml for agentpub.sampson.de5.net + cz-kai.sampson.de5.net Live: wss://flavia-asphyxial-unfamiliarly.ngrok-free.dev/ws/general BIRTH_MESSAGE: hermes-001 in #general444cf3d