@1agents/session-reader 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -460,9 +460,8 @@ Control Plane 从 tailnet 拿到节点后,照着这张表探测 `/manifest`
460
460
  换成别的端口就探测不到了,得由服务自己 `POST /nodes/register` 告知。
461
461
 
462
462
  ```
463
- GET /manifest Node Manifest(dreammate-network node.schema.json)
463
+ GET /manifest 只报本服务自己(节点全貌在 agent 的 :36908/manifest)
464
464
  GET /health
465
- GET /v1/node 同 /manifest,本 Service 前缀下的同一份文档
466
465
  GET /v1/sessions ?limit&scope&since&provider
467
466
  GET /v1/sessions/:id 会话概要
468
467
  GET /v1/sessions/:id/turns 逐轮概要
@@ -62,9 +62,8 @@ async function route(ctx) {
62
62
  if (pathname === '/health') {
63
63
  return { status: 200, body: { status: 'ok', node_id: identity.node_id, service: 'session-registry' } };
64
64
  }
65
- // `/manifest` is the network-wide contract; `/v1/node` is the same document
66
- // under this service's own prefix.
67
- if (pathname === '/manifest' || pathname === '/v1/node') {
65
+ // 只报本服务自己——节点全貌在本机 agent 的 :36908/manifest。
66
+ if (pathname === '/manifest') {
68
67
  return { status: 200, body: await buildManifest(ctx.url.origin) };
69
68
  }
70
69
  if (pathname === '/v1/sessions') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1agents/session-reader",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Read Plane: cross-agent session discovery, turn inspection, workspace aggregation and distillation from raw local session files.",
5
5
  "keywords": [
6
6
  "claude-code",
@@ -58,6 +58,6 @@
58
58
  },
59
59
  "dependencies": {
60
60
  "@1agents/dreammate-network": "^0.3.0",
61
- "@1agents/dreammate-node": "^0.1.0"
61
+ "@1agents/dreammate-node": "^0.2.0"
62
62
  }
63
63
  }