feat(homepage): 恢复首页并加入 dashboard 入口和实时进度条 - #22
Merged
Conversation
Add POST /api/ingest endpoint and run.sh upload hook so agents running on any machine can stream their JSONL events to the deployed dashboard in real time. - ui/server/src/routes/ingest.ts: new endpoint. Validates Bearer token (KIP_INGEST_TOKEN env var, optional), checks agent/runId are safe path segments, writes events to agents/<agent>/logs/<runId>/absorber.jsonl and maintains meta.json (creates on first event, updates completedAt and status on session_end). No extra WebSocket wiring needed — the existing fs.watch in logs.ts detects the appended bytes and pushes them to connected clients automatically. - ui/server/src/index.ts: register ingest route. - agents/blueprint-absorber/run.sh: add ingest() inside the inline Python log-parser. Reads KIP_INGEST_URL / KIP_INGEST_TOKEN from env; if KIP_INGEST_URL is unset the function is a no-op so local-only mode is unchanged. Fire-and-forget with 3s timeout — failures are silently ignored and never block the agent. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
…s bar Restores the missing homepage/ (lost when main diverged from feat/unify-annotation-system) and adds two improvements: - Dashboard entry point in the link list - Live formalization progress bar fetched from /dashboard/api/state/health (proved / aligned / bound / nl_reviewed / drafted segments, falls back silently if the API is unreachable) Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题
homepage/目录只在feat/unify-annotation-system分支上,合并 PR #14 时没有带进 main,导致kip.opensii.ai/返回 404。改动
恢复
homepage/index.html,在原有基础上做了两处改进:1. 新增 Dashboard 入口
/dashboard/,蓝色边框区分于其他条目2. 实时进度条
/dashboard/api/state/health拉取节点数据验证
https://kip.opensii.ai/现已恢复正常,进度条数据实时显示。