dsh-lark-bot 0.10.1 → 0.10.2
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 +13 -7
- package/dist/cli.js +14 -0
- package/dist/cli.js.map +1 -1
- package/dist/plugin.js +7 -0
- package/dist/plugin.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -761,36 +761,42 @@ and relaunches the full profile on `/safemode exit`.
|
|
|
761
761
|
|
|
762
762
|
## 社区收录情况 | Community Listings
|
|
763
763
|
|
|
764
|
-
> 本项目的社区收录 / 推荐状态,随提交的更新请求持续维护。截至 v0.
|
|
765
|
-
> Community listing & recommendation status, kept current as update requests land. As of v0.
|
|
764
|
+
> 本项目的社区收录 / 推荐状态,随提交的更新请求持续维护。截至 v0.10.2:
|
|
765
|
+
> Community listing & recommendation status, kept current as update requests land. As of v0.10.2:
|
|
766
766
|
|
|
767
767
|
| 平台 Platform | 状态 Status | 说明 Notes |
|
|
768
768
|
| :--- | :--- | :--- |
|
|
769
|
-
| [awesome-dsh-plugins](https://github.com/AdamPlatin123/awesome-dsh-plugins) | ✅ 已收录 · 运行级可用<br>Listed · runtime-verified | 社区榜单标注 `✅ 运行级可用`,2026-08-14 agent
|
|
770
|
-
| [dshfind](https://dshfind.com/zh/plugins/PlutoKeating/dsh-lark-bot) | ✅ 已收录 · 详情页已上线<br>Listed · detail page live | 中英日韩四语详情页已上线(含安装命令与亮点),条目名称正常([issue #2](https://github.com/hikariming/dshfind/issues/2)
|
|
771
|
-
| [omdsh-dev/community](https://github.com/orgs/omdsh-dev/discussions/12) | ✅ 已提交收录申请<br>Submission submitted | `[Plugin]` 收录申请(Discussion #12)已通过;v0.8.0
|
|
769
|
+
| [awesome-dsh-plugins](https://github.com/AdamPlatin123/awesome-dsh-plugins) | ✅ 已收录 · 运行级可用<br>Listed · runtime-verified | 社区榜单标注 `✅ 运行级可用`,2026-08-14 agent 实测通过;收录条目更新至 v0.8.0([PR #127](https://github.com/AdamPlatin123/awesome-dsh-plugins/pull/127) 已合并),v0.10.1 同步已跟进([#139](https://github.com/AdamPlatin123/awesome-dsh-plugins/issues/139) 最新评论)<br>Shown as `✅ 运行级可用` in the community leaderboard; agent-tested on 2026-08-14; v0.8.0 entry merged via [PR #127](https://github.com/AdamPlatin123/awesome-dsh-plugins/pull/127); v0.10.1 sync requested in [#139](https://github.com/AdamPlatin123/awesome-dsh-plugins/issues/139) |
|
|
770
|
+
| [dshfind](https://dshfind.com/zh/plugins/PlutoKeating/dsh-lark-bot) | ✅ 已收录 · 详情页已上线<br>Listed · detail page live | 中英日韩四语详情页已上线(含安装命令与亮点),条目名称正常([issue #2](https://github.com/hikariming/dshfind/issues/2) 已关闭);v0.10.1 数据刷新已提交([issue #6](https://github.com/hikariming/dshfind/issues/6));顶部徽章 / 展示卡来自 dshfind<br>Four-language detail page is live (install command & highlights), entry name fixed ([issue #2](https://github.com/hikariming/dshfind/issues/2) closed); v0.10.1 data refresh requested in [issue #6](https://github.com/hikariming/dshfind/issues/6); the header badge / card comes from dshfind |
|
|
771
|
+
| [omdsh-dev/community](https://github.com/orgs/omdsh-dev/discussions/12) | ✅ 已提交收录申请<br>Submission submitted | `[Plugin]` 收录申请(Discussion #12)已通过;v0.8.0 更新、六项独家亮点与 v0.10.1 稳定性修复说明均已发布在该讨论<br>`[Plugin]` submission (Discussion #12) accepted; v0.8.0 update, the six-exclusive-highlights summary and the v0.10.1 stability-fix notes are all posted there |
|
|
772
772
|
|
|
773
773
|
**更新请求进度 / Update request status**:
|
|
774
774
|
|
|
775
775
|
- awesome-dsh-plugins 收录条目更新:[#127](https://github.com/AdamPlatin123/awesome-dsh-plugins/pull/127) — ✅ 已合并
|
|
776
776
|
- dshfind 数据刷新请求(含条目名称异常修正):[#2](https://github.com/hikariming/dshfind/issues/2) — ✅ 已关闭,详情页已更新
|
|
777
777
|
- omdsh-dev/community 收录讨论更新:[Discussion #12 更新评论](https://github.com/orgs/omdsh-dev/discussions/12#discussioncomment-18021998) — ✅ 已发布
|
|
778
|
+
- awesome-dsh-plugins 榜单行同步至 v0.10.1:[#139 最新评论](https://github.com/AdamPlatin123/awesome-dsh-plugins/issues/139#issuecomment-5304291100) — 📨 已提交
|
|
779
|
+
- dshfind 数据刷新至 v0.10.1:[#6](https://github.com/hikariming/dshfind/issues/6) — 📨 已提交
|
|
780
|
+
- omdsh-dev/community v0.10.1 更新说明:[Discussion #12 评论](https://github.com/omdsh-dev/community/discussions/12#discussioncomment-18034706) — ✅ 已发布
|
|
778
781
|
|
|
779
782
|
**Update requests**:
|
|
780
783
|
|
|
781
784
|
- awesome-dsh-plugins entry refresh: [#127](https://github.com/AdamPlatin123/awesome-dsh-plugins/pull/127) — ✅ merged
|
|
782
785
|
- dshfind data-refresh request (incl. fixing the entry name): [#2](https://github.com/hikariming/dshfind/issues/2) — ✅ closed, detail page updated
|
|
783
786
|
- omdsh-dev/community listing update: [Discussion #12 update comment](https://github.com/orgs/omdsh-dev/discussions/12#discussioncomment-18021998) — ✅ posted
|
|
787
|
+
- awesome-dsh-plugins leaderboard sync to v0.10.1: [#139 comment](https://github.com/AdamPlatin123/awesome-dsh-plugins/issues/139#issuecomment-5304291100) — 📨 submitted
|
|
788
|
+
- dshfind data refresh to v0.10.1: [#6](https://github.com/hikariming/dshfind/issues/6) — 📨 submitted
|
|
789
|
+
- omdsh-dev/community v0.10.1 update: [Discussion #12 comment](https://github.com/omdsh-dev/community/discussions/12#discussioncomment-18034706) — ✅ posted
|
|
784
790
|
|
|
785
791
|
**亮点跟进 / Highlights follow-ups**(六项独家能力与 issue #6 设计实现):
|
|
786
792
|
|
|
787
|
-
- awesome-dsh-plugins 榜单行同步(仓库描述 →
|
|
793
|
+
- awesome-dsh-plugins 榜单行同步(仓库描述 → 最新)与 agent-test 报告名称异常:[#139](https://github.com/AdamPlatin123/awesome-dsh-plugins/issues/139) — 📨 已提交(维护方已确认,等待渲染周期同步)
|
|
788
794
|
- dshfind 详情页补「对话内管理模型和密钥」亮点:[#2 跟进评论](https://github.com/hikariming/dshfind/issues/2#issuecomment-5301019067) — 📨 已提交
|
|
789
795
|
- omdsh 六项独家亮点补充(含 Guardian 设计实现):[Discussion #12 亮点评论](https://github.com/orgs/omdsh-dev/discussions/12#discussioncomment-18026370) — 📨 已提交
|
|
790
796
|
|
|
791
797
|
**Highlights follow-ups** (six exclusive capabilities & the issue #6 design):
|
|
792
798
|
|
|
793
|
-
- awesome-dsh-plugins leaderboard row sync (repo description →
|
|
799
|
+
- awesome-dsh-plugins leaderboard row sync (repo description → latest) & agent-test name anomaly: [#139](https://github.com/AdamPlatin123/awesome-dsh-plugins/issues/139) — 📨 submitted (maintainer confirmed; awaiting the snapshot/render cycle)
|
|
794
800
|
- dshfind detail page: add the in-chat model/key management highlight: [#2 follow-up](https://github.com/hikariming/dshfind/issues/2#issuecomment-5301019067) — 📨 submitted
|
|
795
801
|
- omdsh six-exclusive-highlights summary (incl. the Guardian design): [Discussion #12 highlights comment](https://github.com/orgs/omdsh-dev/discussions/12#discussioncomment-18026370) — 📨 submitted
|
|
796
802
|
|
package/dist/cli.js
CHANGED
|
@@ -2967,6 +2967,7 @@ async function runAttempt(input, cwd, sessionId, resuming, replyOptions) {
|
|
|
2967
2967
|
const timeoutMs = input.runPolicies?.get(input.scope) ?? input.runTimeoutMs ?? 0;
|
|
2968
2968
|
let timedOut = false;
|
|
2969
2969
|
let assistantOutput = "";
|
|
2970
|
+
let sawActivity = false;
|
|
2970
2971
|
const density = input.densityStore?.get(input.scope) ?? "standard";
|
|
2971
2972
|
try {
|
|
2972
2973
|
await input.channel.streamCard(
|
|
@@ -2993,6 +2994,9 @@ async function runAttempt(input, cwd, sessionId, resuming, replyOptions) {
|
|
|
2993
2994
|
if (event.type === "system" && event.sessionId) {
|
|
2994
2995
|
input.sessions.set(input.scope, event.sessionId, event.cwd ?? cwd);
|
|
2995
2996
|
}
|
|
2997
|
+
if (event.type !== "system" && event.type !== "error") {
|
|
2998
|
+
sawActivity = true;
|
|
2999
|
+
}
|
|
2996
3000
|
armTimeout?.();
|
|
2997
3001
|
await controller.update(renderCard(state, density));
|
|
2998
3002
|
}
|
|
@@ -3034,6 +3038,9 @@ async function runAttempt(input, cwd, sessionId, resuming, replyOptions) {
|
|
|
3034
3038
|
},
|
|
3035
3039
|
replyOptions
|
|
3036
3040
|
);
|
|
3041
|
+
if (resuming && state.terminal === "error" && !sawActivity) {
|
|
3042
|
+
throw new Error(state.errorMsg ?? "native session resume failed");
|
|
3043
|
+
}
|
|
3037
3044
|
input.sessions.recordExchange(input.scope, cwd, input.messages, assistantOutput, {
|
|
3038
3045
|
...input.retention === void 0 ? {} : { retention: input.retention },
|
|
3039
3046
|
...input.archiver ? {
|
|
@@ -7196,6 +7203,7 @@ var GuardianService = class {
|
|
|
7196
7203
|
let errorText;
|
|
7197
7204
|
let timedOut = false;
|
|
7198
7205
|
let events = 0;
|
|
7206
|
+
let sawActivity = false;
|
|
7199
7207
|
const run = engine.adapter.run({
|
|
7200
7208
|
runId,
|
|
7201
7209
|
prompt,
|
|
@@ -7240,6 +7248,9 @@ var GuardianService = class {
|
|
|
7240
7248
|
this.sessionIds.set(scope, event.sessionId);
|
|
7241
7249
|
}
|
|
7242
7250
|
if (event.type === "error") errorText = event.message;
|
|
7251
|
+
if (event.type !== "system" && event.type !== "error") {
|
|
7252
|
+
sawActivity = true;
|
|
7253
|
+
}
|
|
7243
7254
|
armTimeout?.();
|
|
7244
7255
|
await controller.update(renderCard(state, density, Date.now()));
|
|
7245
7256
|
}
|
|
@@ -7303,6 +7314,9 @@ var GuardianService = class {
|
|
|
7303
7314
|
...errorText === void 0 ? {} : { errorText },
|
|
7304
7315
|
outputLength: (finalText ?? assistantOutput).trim().length
|
|
7305
7316
|
});
|
|
7317
|
+
if (terminal === "error" && !sawActivity) {
|
|
7318
|
+
this.sessionIds.delete(scope);
|
|
7319
|
+
}
|
|
7306
7320
|
if (timedOut || terminal === "interrupted" || terminal === "error" || terminal === "idle_timeout") {
|
|
7307
7321
|
return;
|
|
7308
7322
|
}
|