@topmindspace/topmind-handoff 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/CHANGELOG.md +4 -0
- package/README.md +1 -1
- package/SKILL.md +1 -1
- package/assets/handoff-example.md +2 -2
- package/assets/handoff-template.md +1 -1
- package/package.json +1 -1
- package/references/environment.md +1 -1
- package/references/import.md +1 -1
- package/references/spec.md +3 -3
- package/topmind_handoff/package.py +9 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
package/SKILL.md
CHANGED
|
@@ -17,7 +17,7 @@ compatibility: >-
|
|
|
17
17
|
Optional private-git sync uses the user's existing git/gh credential only.
|
|
18
18
|
No SDK. No token stored. The memory repo has no CI and no Release.
|
|
19
19
|
metadata:
|
|
20
|
-
version: "0.5.
|
|
20
|
+
version: "0.5.1"
|
|
21
21
|
author: TopMindSpace
|
|
22
22
|
homepage: https://github.com/topmindspace/topmind-handoff
|
|
23
23
|
updated: "2026-10-12"
|
|
@@ -3,7 +3,7 @@ handoff_version: "1.1"
|
|
|
3
3
|
language: zh-CN
|
|
4
4
|
scope: private
|
|
5
5
|
origin_id: "Grok-demo-sync"
|
|
6
|
-
compiler: "示例助手 + topmind-handoff 0.5.
|
|
6
|
+
compiler: "示例助手 + topmind-handoff 0.5.1"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
> **给 AI 的接收指引**:建议先安装或更新 topmind-handoff
|
|
@@ -80,7 +80,7 @@ override.pref-theme: 本环境编辑器用浅色
|
|
|
80
80
|
连接器:GitHub,读写自己的仓库
|
|
81
81
|
|
|
82
82
|
已装技能:
|
|
83
|
-
- topmind-handoff 0.5.
|
|
83
|
+
- topmind-handoff 0.5.1(github:topmindspace/topmind-handoff):编译记忆并渲染交接包
|
|
84
84
|
|
|
85
85
|
## 10. 操作附录(已反映在上文视图中)
|
|
86
86
|
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"author": "TopMindSpace", "bugs": {"url": "https://github.com/topmindspace/topmind-handoff/issues"}, "description": "跨工具交接技能:私有 Git 里按环境追加操作,本机编译共享视图和场景视图,离线时用 1.1 交接包。Cross-tool handoff: layered private-git memory compiled locally, plus a 1.1 package when a tool cannot pull.", "engines": {"node": ">=18"}, "files": ["SKILL.md", "references", "assets", "README.md", "LICENSE", "CHANGELOG.md", "topmind_handoff", "scripts/compile_memory.py"], "homepage": "https://github.com/topmindspace/topmind-handoff#readme", "keywords": ["agent-skills", "ai-skills", "handoff", "memory-portability", "user-profile", "onboarding"], "license": "MIT", "name": "@topmindspace/topmind-handoff", "publishConfig": {"access": "public"}, "repository": {"type": "git", "url": "git+https://github.com/topmindspace/topmind-handoff.git"}, "version": "0.5.
|
|
1
|
+
{"author": "TopMindSpace", "bugs": {"url": "https://github.com/topmindspace/topmind-handoff/issues"}, "description": "跨工具交接技能:私有 Git 里按环境追加操作,本机编译共享视图和场景视图,离线时用 1.1 交接包。Cross-tool handoff: layered private-git memory compiled locally, plus a 1.1 package when a tool cannot pull.", "engines": {"node": ">=18"}, "files": ["SKILL.md", "references", "assets", "README.md", "LICENSE", "CHANGELOG.md", "topmind_handoff", "scripts/compile_memory.py"], "homepage": "https://github.com/topmindspace/topmind-handoff#readme", "keywords": ["agent-skills", "ai-skills", "handoff", "memory-portability", "user-profile", "onboarding"], "license": "MIT", "name": "@topmindspace/topmind-handoff", "publishConfig": {"access": "public"}, "repository": {"type": "git", "url": "git+https://github.com/topmindspace/topmind-handoff.git"}, "version": "0.5.1"}
|
|
@@ -18,7 +18,7 @@ override.pref-theme: 本环境用浅色终端
|
|
|
18
18
|
连接器:GitHub,读写自己的仓库
|
|
19
19
|
|
|
20
20
|
已装技能:
|
|
21
|
-
- topmind-handoff 0.5.
|
|
21
|
+
- topmind-handoff 0.5.1(github:topmindspace/topmind-handoff)
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
- `role` 决定 `--startup` 带上哪一个场景。规则见 `references/compile.md`。
|
package/references/import.md
CHANGED
package/references/spec.md
CHANGED
|
@@ -54,8 +54,8 @@ handoff_version: "1.1"
|
|
|
54
54
|
language: zh-CN
|
|
55
55
|
scope: private
|
|
56
56
|
origin_id: "Grok-demo-sync"
|
|
57
|
-
compiler: "topmind-handoff 0.5.
|
|
58
|
-
generator: "工具名 + topmind-handoff 0.5.
|
|
57
|
+
compiler: "topmind-handoff 0.5.1"
|
|
58
|
+
generator: "工具名 + topmind-handoff 0.5.1"
|
|
59
59
|
---
|
|
60
60
|
```
|
|
61
61
|
|
|
@@ -82,7 +82,7 @@ generator: "工具名 + topmind-handoff 0.5.0"
|
|
|
82
82
|
- 画像锚点是称呼、对本智能体的称呼、语言、时区。本地已有值就不写入。
|
|
83
83
|
- 墓碑是同一个 id,正文含「已撤回」或 `withdrawn`。只放进建议删除,不自动删。
|
|
84
84
|
- 包里没有的 id 留在本地。
|
|
85
|
-
- 第 6
|
|
85
|
+
- 第 6 节边界只作行为约束,不进入新增,也不进入建议删除。
|
|
86
86
|
|
|
87
87
|
## 环境卡片里的技能
|
|
88
88
|
|
|
@@ -179,11 +179,19 @@ class LegacyPlan:
|
|
|
179
179
|
mode: str = "migration"
|
|
180
180
|
|
|
181
181
|
|
|
182
|
+
_SECTION_6 = re.compile(r"^##\s*6(?:\.|\s|$)")
|
|
183
|
+
|
|
184
|
+
|
|
182
185
|
def _claim_items(package: str) -> list[tuple[str | None, str]]:
|
|
186
|
+
"""List items outside legacy section 6. That section is a behavior constraint, not memory."""
|
|
183
187
|
items: list[tuple[str | None, str]] = []
|
|
188
|
+
skip = False
|
|
184
189
|
for line in package.splitlines():
|
|
185
190
|
stripped = line.strip()
|
|
186
|
-
if
|
|
191
|
+
if stripped.startswith("##"):
|
|
192
|
+
skip = _SECTION_6.match(stripped) is not None
|
|
193
|
+
continue
|
|
194
|
+
if skip or not stripped.startswith("- "):
|
|
187
195
|
continue
|
|
188
196
|
body = stripped[2:].strip()
|
|
189
197
|
match = re.search(r"\{id:([^}]+)\}\s*$", body)
|