dsh-deeppilot 0.9.8 → 0.9.11
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/COMPATIBILITY.md +78 -5
- package/README.md +34 -10
- package/README.zh-CN.md +24 -8
- package/bin/SHA256SUMS +6 -6
- package/bin/darwin-amd64/dsh-deeppilot-tunnel +0 -0
- package/bin/darwin-arm64/dsh-deeppilot-tunnel +0 -0
- package/bin/linux-amd64/dsh-deeppilot-tunnel +0 -0
- package/bin/linux-arm64/dsh-deeppilot-tunnel +0 -0
- package/bin/windows-amd64/dsh-deeppilot-tunnel.exe +0 -0
- package/bin/windows-arm64/dsh-deeppilot-tunnel.exe +0 -0
- package/docs/DSH_RELEASE_MEMORY.md +148 -9
- package/docs/NPM_PUBLISHING.md +30 -0
- package/lib/client.js +152 -4
- package/lib/client.js.map +1 -1
- package/lib/index.d.ts +8 -1
- package/lib/index.js +690 -54
- package/lib/index.js.map +1 -1
- package/package.json +13 -12
package/lib/index.d.ts
CHANGED
|
@@ -411,6 +411,9 @@ interface PushNotification {
|
|
|
411
411
|
sessionId: string;
|
|
412
412
|
title: string;
|
|
413
413
|
body: string;
|
|
414
|
+
/** Same optional approval-only fields as NotifyPayload; dropped in `generic` content mode. */
|
|
415
|
+
toolName?: string;
|
|
416
|
+
detail?: string;
|
|
414
417
|
}
|
|
415
418
|
interface PendingApprovalPayload {
|
|
416
419
|
requestId: string;
|
|
@@ -968,7 +971,11 @@ declare class HostBridge {
|
|
|
968
971
|
* push failures must never block or break the WS data plane.
|
|
969
972
|
*/
|
|
970
973
|
private fanOutPush;
|
|
971
|
-
/**
|
|
974
|
+
/**
|
|
975
|
+
* Remember the latest assistant text so notifications can quote it. 存完整原文:
|
|
976
|
+
* 按字符数截尾会从链接地址中间切开(横幅只剩 URL 编码的路径),段落选择与
|
|
977
|
+
* Markdown 清洗统一留到 emitNotify。条目随 sessions.list / 归档清理。
|
|
978
|
+
*/
|
|
972
979
|
private captureAssistantText;
|
|
973
980
|
/**
|
|
974
981
|
* Replay buffered pushes after the given cursor; false when the gap is
|