Update: 将子项目从 submodule 转为完整内容
- 移除 GovAI, nomifun-tauri, 算力盒子 的 submodule 引用 - 添加所有子项目的完整源代码 - 保留原始 .git 为 .git.bak 备份
This commit is contained in:
+46
@@ -0,0 +1,46 @@
|
||||
# Similar Project Discovery
|
||||
|
||||
Use this when users ask for alternatives to Star-Office-UI.
|
||||
|
||||
## Target mechanism
|
||||
|
||||
Only recommend projects that are close to this mechanism:
|
||||
|
||||
- Real-time or near-real-time visual status UI for agent/task execution.
|
||||
- Locally runnable web UI (`http://127.0.0.1:<port>` style).
|
||||
- Can be integrated in Nomi preview panel via URL embed.
|
||||
- Has a bridge path (API/event/webhook/polling) to accept external task status.
|
||||
|
||||
## Discovery steps
|
||||
|
||||
1. Search GitHub with combinations of:
|
||||
|
||||
- `agent visualizer`
|
||||
- `ai task monitor ui`
|
||||
- `workflow live dashboard open source`
|
||||
- `openclaw` / `claude code` / `agent runtime` + `visual`
|
||||
|
||||
2. Exclude projects that are:
|
||||
|
||||
- only static design templates
|
||||
- archived or clearly abandoned
|
||||
- not open source
|
||||
- impossible to run locally
|
||||
|
||||
3. Validate each candidate quickly:
|
||||
|
||||
- has README with run instructions
|
||||
- has backend/frontend or realtime channel docs
|
||||
- recent maintenance signals (commits/issues)
|
||||
|
||||
## Recommendation format
|
||||
|
||||
For each candidate provide:
|
||||
|
||||
1. Name + GitHub URL
|
||||
2. Why mechanism matches (1 sentence)
|
||||
3. Setup effort (`low`/`medium`/`high`)
|
||||
4. Integration risk (port/auth/event bridge complexity)
|
||||
5. Best use case
|
||||
|
||||
Always list `Star-Office-UI` first unless user explicitly asks to exclude it.
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
# Star Office Troubleshooting
|
||||
|
||||
## 1. `Unauthorized` on `127.0.0.1:<port>`
|
||||
|
||||
Common causes:
|
||||
|
||||
- Backend started but session/auth state not initialized.
|
||||
- Opened backend port directly instead of frontend port.
|
||||
- `state.json` missing or invalid.
|
||||
|
||||
Actions:
|
||||
|
||||
1. Ensure `state.json` exists (copy from `state.sample.json` if needed).
|
||||
2. Start backend with venv Python:
|
||||
- `cd backend && ../.venv/bin/python app.py`
|
||||
3. Open frontend URL (usually `http://127.0.0.1:19000`) instead of backend API port.
|
||||
4. Run `bash skills/star-office-helper/scripts/star_office_doctor.sh` and check port + HTTP status.
|
||||
|
||||
## 2. `pip install` fails with `externally-managed-environment`
|
||||
|
||||
Cause:
|
||||
|
||||
- macOS/Homebrew Python follows PEP 668 and blocks system-wide pip write.
|
||||
|
||||
Fix:
|
||||
|
||||
1. `python3 -m venv .venv`
|
||||
2. `.venv/bin/python -m pip install --upgrade pip`
|
||||
3. `.venv/bin/python -m pip install -r backend/requirements.txt`
|
||||
|
||||
Avoid:
|
||||
|
||||
- `--break-system-packages` unless user explicitly requires system install.
|
||||
|
||||
## 3. Nomi connected but preview does not move
|
||||
|
||||
Cause:
|
||||
|
||||
- Nomi can talk to OpenClaw, but Star Office is only a visualization layer.
|
||||
- No event bridge from OpenClaw task stream to Star Office backend.
|
||||
- Wrong preview URL.
|
||||
|
||||
Checklist:
|
||||
|
||||
1. Confirm Star Office frontend port (default `19000`) is reachable.
|
||||
2. Confirm backend is running and receiving events.
|
||||
3. Confirm Nomi preview panel URL exactly matches frontend URL.
|
||||
4. Trigger a real OpenClaw task and observe backend logs.
|
||||
|
||||
## 4. Port confusion (`18791` vs `19000`)
|
||||
|
||||
Typical mapping:
|
||||
|
||||
- `18791`: backend/service/auth endpoint (may return `Unauthorized`).
|
||||
- `19000`: frontend visual UI for browser preview.
|
||||
|
||||
Rule:
|
||||
|
||||
- In Nomi preview panel, use frontend URL.
|
||||
Reference in New Issue
Block a user