dsh-handoff-baton 0.3.0 → 0.3.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 +7 -0
- package/README.md +2 -2
- package/README.zh-CN.md +2 -2
- package/package.json +6 -2
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# Task Handoff Baton · dsh-handoff-baton
|
|
2
2
|
|
|
3
|
+
English | [简体中文](https://github.com/WeiLuo114514/handoff-baton/blob/main/README.zh-CN.md)
|
|
4
|
+
|
|
3
5
|
Turn "one conversation that keeps growing" into "one document plus one marker".
|
|
4
6
|
|
|
5
7
|
A DeepSeek Harness plugin, a model-agnostic skill, and a zero-dependency CLI. When the context is about to run out, it turns the current work into a seven-section handoff document, files it in an index, and emits a continuation phrase a new session can act on directly.
|
|
6
8
|
|
|
7
|
-
[中文文档](README.zh-CN.md)
|
|
8
|
-
|
|
9
9
|
## Why a handoff at all
|
|
10
10
|
|
|
11
11
|
A long conversation is charged on every request: 300k tokens of history are replayed each turn. In a real 30-day bill, 57% of the spend went to cached context replay, at an average of 359k tokens per request.
|
package/README.zh-CN.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# 任务交接棒 · dsh-handoff-baton
|
|
2
2
|
|
|
3
|
+
[English](https://github.com/WeiLuo114514/handoff-baton/blob/main/README.md) | 简体中文
|
|
4
|
+
|
|
3
5
|
把「一条会话聊到爆」变成「一份文档 + 一个标记」。
|
|
4
6
|
|
|
5
7
|
DeepSeek Harness 插件 + 跨模型通用技能 + 零依赖 CLI。上下文即将耗尽时,将当前工作整理为七节交接文档、归档至索引,并生成新会话可直接使用的接棒口令。
|
|
6
8
|
|
|
7
|
-
[English](README.md)
|
|
8
|
-
|
|
9
9
|
## 为什么需要交接
|
|
10
10
|
|
|
11
11
|
长会话的每一次请求都要重放全部历史。一条 30 万 token 的会话,每轮都在为这 30 万 token 付费。真实账单中,30 天开销的 57% 花在缓存命中的上下文重放上,平均每请求 35.9 万 token。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-handoff-baton",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "交接棒:上下文快满时自动判断、归档并生成跨模型接棒码的 DeepSeek Harness 插件与通用技能",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -65,7 +65,11 @@
|
|
|
65
65
|
},
|
|
66
66
|
"repository": {
|
|
67
67
|
"type": "git",
|
|
68
|
-
"url": "git+https://github.com/
|
|
68
|
+
"url": "git+https://github.com/WeiLuo114514/handoff-baton.git"
|
|
69
|
+
},
|
|
70
|
+
"homepage": "https://github.com/WeiLuo114514/handoff-baton#readme",
|
|
71
|
+
"bugs": {
|
|
72
|
+
"url": "https://github.com/WeiLuo114514/handoff-baton/issues"
|
|
69
73
|
},
|
|
70
74
|
"publishConfig": {
|
|
71
75
|
"access": "public"
|