@hy-sde-org/dsh-graph-projection 0.1.2-rc.1 → 0.1.5-rc.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.i18n.yaml +2 -2
- package/README.md +3 -8
- package/README.zh.md +3 -8
- package/package.json +10 -10
package/README.i18n.yaml
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
|
3
3
|
# after editing either side, bring the other along and re-record with:
|
|
4
4
|
# pnpm run verify-translation-pairing --write packages/graph/graph-projection/README.md
|
|
5
|
-
README.md:
|
|
6
|
-
README.zh.md:
|
|
5
|
+
README.md: afb94d889ddc4c00e4999bea0f35f234d961d7fc
|
|
6
|
+
README.zh.md: 146590cebf52f1209229362cf2db4d154afbe29e
|
package/README.md
CHANGED
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "Serves the session's standing agent-graph snapshot from the host's graph/change publishes for clients and maintainers composing or debugging the graph projection unit."
|
|
3
|
-
kind: "package-reference"
|
|
4
|
-
---
|
|
5
|
-
|
|
6
1
|
# @hy-sde-org/dsh-graph-projection
|
|
7
2
|
|
|
8
3
|
English | [中文](README.zh.md)
|
|
9
4
|
|
|
10
5
|
## Summary
|
|
11
6
|
|
|
12
|
-
`dsh-graph-projection` serves the session's standing agent-graph snapshot — the whole bounded `SessionGraphProjection` (graph identity, closed/active status, revision, bounded work list, omitted counts, pending wake) — as the `graph` projection unit. The host
|
|
7
|
+
`dsh-graph-projection` serves the session's standing agent-graph snapshot — the whole bounded `SessionGraphProjection` (graph identity, closed/active status, revision, bounded work list, omitted counts, pending wake) — as the `graph` projection unit. The host owns graph state and publishes a complete post-change snapshot per graph movement as a `graph/change` session event; this unit folds those publishes into the session-projection seam (registry snapshot, change feed, every projection carrier) with no store coupling. Choose it in compositions that already mount the projection registry, such as the web app bundle whose graph rail is the reference consumer; assemblies without the registry are unaffected and their consumers read no graph key. Setup and publish semantics come first; the fold internals live in a collapsible developer section below.
|
|
13
8
|
|
|
14
9
|
## Table of Contents
|
|
15
10
|
|
|
@@ -99,8 +94,8 @@ The unit is a pure fold over committed `graph/change` events. One DSH session ow
|
|
|
99
94
|
|
|
100
95
|
Read these pages when the unit's contract is not enough. They move from the registry that drives units to the graph packages the host publishes from.
|
|
101
96
|
|
|
102
|
-
- [Session projection subsystem](
|
|
103
|
-
- [Session projection registry package](
|
|
97
|
+
- [Session projection subsystem](https://github.com/deepseek-ai/deepseek-harness/blob/master/docs/subsystems/session-projection.md) — the registry that drives units and serves snapshot and change-feed values.
|
|
98
|
+
- [Session projection registry package](https://github.com/deepseek-ai/deepseek-harness/blob/master/packages/session/session-projection/README.md) — the registry contract units register against.
|
|
104
99
|
- [Graph stream package](../graph-stream/README.md) — the derived stream layer whose schedule and records feed the host's published snapshots.
|
|
105
100
|
- [Tool graph package](../tool-graph/README.md) — the bounded model-visible snapshot vocabulary the client projection reuses with a tighter rail budget.
|
|
106
101
|
|
package/README.zh.md
CHANGED
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "从宿主的 graph/change 发布提供会话当前 Agent Graph 快照;面向组合或调试 graph 投影单元的客户端与维护者。"
|
|
3
|
-
kind: "package-reference"
|
|
4
|
-
---
|
|
5
|
-
|
|
6
1
|
# @hy-sde-org/dsh-graph-projection
|
|
7
2
|
|
|
8
3
|
[English](README.md) | 中文
|
|
9
4
|
|
|
10
5
|
## 概述
|
|
11
6
|
|
|
12
|
-
`dsh-graph-projection` 以 `graph` 投影单元提供会话当前的 Agent Graph 快照——完整且有界的 `SessionGraphProjection`(图身份、closed/active 状态、版本、有界工作列表、省略计数、待投递 wake
|
|
7
|
+
`dsh-graph-projection` 以 `graph` 投影单元提供会话当前的 Agent Graph 快照——完整且有界的 `SessionGraphProjection`(图身份、closed/active 状态、版本、有界工作列表、省略计数、待投递 wake)。宿主拥有图状态,并在每次图状态变化时以 `graph/change` 会话事件发布一份完整的变更后快照;本单元把这类发布折叠进会话投影接缝(注册表快照、变更流、每条投影载体),与存储无耦合。在已挂载投影注册表的组合中选择它,例如以图导航栏为参考消费者的 Web 应用包;没有注册表的装配不受影响,其消费者读不到 `graph` 键。装配与发布语义在前;折叠内部细节放在下方可折叠的开发者章节中。
|
|
13
8
|
|
|
14
9
|
## 目录
|
|
15
10
|
|
|
@@ -99,8 +94,8 @@ Web 聊天 UI 通过投影标准席位 `useProjection('graph')` 读取该值;
|
|
|
99
94
|
|
|
100
95
|
当单元约定不够用时阅读以下页面。它们从驱动单元的注册表逐步进入宿主据以发布的图包。
|
|
101
96
|
|
|
102
|
-
- [会话投影子系统](
|
|
103
|
-
- [会话投影注册表包](
|
|
97
|
+
- [会话投影子系统](https://github.com/deepseek-ai/deepseek-harness/blob/master/docs/subsystems/session-projection.zh.md)——驱动单元并提供快照与变更流值的注册表。
|
|
98
|
+
- [会话投影注册表包](https://github.com/deepseek-ai/deepseek-harness/blob/master/packages/session/session-projection/README.zh.md)——单元注册所依据的注册表约定。
|
|
104
99
|
- [图流包](../graph-stream/README.zh.md)——派生态流层,其计划与记录供宿主构建发布快照。
|
|
105
100
|
- [工具图包](../tool-graph/README.zh.md)——有界模型可见快照词汇,客户端投影以更紧的导航栏预算复用它。
|
|
106
101
|
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hy-sde-org/dsh-graph-projection",
|
|
3
|
-
"description": "Session projection unit: the standing agent-graph snapshot folded from the host's graph/change publishes
|
|
4
|
-
"version": "0.1.
|
|
3
|
+
"description": "Session projection unit: the standing agent-graph snapshot folded from the host's graph/change publishes.",
|
|
4
|
+
"version": "0.1.5-rc.1",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
|
-
"url": "git+https://github.com/
|
|
11
|
-
"directory": "packages/graph
|
|
10
|
+
"url": "git+https://github.com/hy-sde/dsh-plugins.git",
|
|
11
|
+
"directory": "dsh-graph/packages/graph-projection"
|
|
12
12
|
},
|
|
13
13
|
"type": "module",
|
|
14
|
-
"main": "
|
|
15
|
-
"types": "
|
|
14
|
+
"main": "./dist/index.js",
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
16
|
"exports": {
|
|
17
17
|
".": {
|
|
18
18
|
"types": "./dist/index.d.ts",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"license": "MIT",
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@deepseek-ai/cordis": "^4.0.2",
|
|
39
|
-
"@deepseek-ai/dsh-session": "^0.1.
|
|
40
|
-
"@deepseek-ai/dsh-session-projection": "^0.1.
|
|
39
|
+
"@deepseek-ai/dsh-session": "^0.1.5-rc.1",
|
|
40
|
+
"@deepseek-ai/dsh-session-projection": "^0.1.5-rc.1"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"zod": "^4.4.3"
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"@deepseek-ai/cordis": "^4.0.2",
|
|
47
47
|
"@deepseek-ai/cordis-plugin-include": "^1.0.7",
|
|
48
48
|
"@deepseek-ai/cordis-plugin-loader": "^1.0.3",
|
|
49
|
-
"@deepseek-ai/dsh-session": "^0.1.
|
|
50
|
-
"@deepseek-ai/dsh-session-projection": "^0.1.
|
|
49
|
+
"@deepseek-ai/dsh-session": "^0.1.5-rc.1",
|
|
50
|
+
"@deepseek-ai/dsh-session-projection": "^0.1.5-rc.1",
|
|
51
51
|
"@types/node": "^24.0.0",
|
|
52
52
|
"typescript": "^5.9.3",
|
|
53
53
|
"vitest": "^3.2.7"
|