docs: 为全部代码补充中文注释并加入 AGENTS 注释规范

This commit is contained in:
cat-shark
2026-08-13 22:09:55 +08:00
parent 0a028bedcc
commit 94c7867c5a
7 changed files with 92 additions and 0 deletions
+5
View File
@@ -1,4 +1,5 @@
<!doctype html>
<!-- WOV 管理后台:节点注册、节点列表、手动调用与实例管理。 -->
<html lang="zh-CN">
<head>
<meta charset="utf-8" />
@@ -20,6 +21,7 @@
<main class="container">
<h1>节点管理</h1>
<!-- 注册节点:粘贴 node.manifest.json,由后端校验后写入注册表。 -->
<section class="panel">
<h2>注册节点</h2>
<label for="manifestJson">节点 Manifest JSON</label>
@@ -30,6 +32,7 @@
</div>
</section>
<!-- 已注册节点:展示节点能力与版本,可删除节点。 -->
<section class="panel">
<h2>已注册节点</h2>
<div class="table-wrap">
@@ -48,6 +51,7 @@
</div>
</section>
<!-- 调用节点:管理后台手动触发一次节点调用,用于联调。 -->
<section class="panel">
<h2>调用节点</h2>
<div class="form-grid">
@@ -68,6 +72,7 @@
<pre id="invokeResult" class="result">等待调用...</pre>
</section>
<!-- 节点实例:查看 NodeManager 启动的进程状态,可手动停止。 -->
<section class="panel">
<h2>节点实例</h2>
<div class="table-wrap">