openclaw-lark-multi-agent 1.6.0 → 1.8.0
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 +11 -0
- package/README.zh-CN.md +10 -0
- package/dist/compact-progress.d.ts +3 -1
- package/dist/compact-progress.js +7 -1
- package/dist/feishu-bot.d.ts +16 -0
- package/dist/feishu-bot.js +359 -46
- package/dist/go-controller.d.ts +86 -12
- package/dist/go-controller.js +435 -131
- package/dist/go-execution.d.ts +10 -0
- package/dist/go-execution.js +1 -0
- package/dist/go-runtime-gate.d.ts +32 -0
- package/dist/go-runtime-gate.js +56 -0
- package/dist/message-store.d.ts +83 -0
- package/dist/message-store.js +142 -2
- package/dist/openclaw-client.d.ts +124 -0
- package/dist/openclaw-client.js +277 -12
- package/dist/provider-errors.d.ts +24 -0
- package/dist/provider-errors.js +344 -0
- package/dist/terminal-errors.d.ts +3 -0
- package/dist/terminal-errors.js +2 -1
- package/package.json +10 -4
- package/plugins/lma-go/README.md +22 -0
- package/plugins/lma-go/dist/index.js +35 -0
- package/plugins/lma-go/dist/policy.js +25 -0
- package/plugins/lma-go/dist/registry.js +37 -0
- package/plugins/lma-go/openclaw.plugin.json +1 -0
- package/plugins/lma-go/package.json +1 -0
- package/scripts/update-lma-core.sh +45 -0
package/README.md
CHANGED
|
@@ -626,3 +626,14 @@ This does not shorten the Gateway's execution limit. Unverified steer V2 and
|
|
|
626
626
|
question adapters are not included in this release.
|
|
627
627
|
|
|
628
628
|
Timing/API parameters and limitations: [foreground idle semantics](docs/foreground-idle-2026-09-11.md).
|
|
629
|
+
|
|
630
|
+
### Independent Go Checker
|
|
631
|
+
|
|
632
|
+
`/go <objective>` sets the goal, starts a dedicated tool-denied acceptance Checker,
|
|
633
|
+
and submits the original objective once at a safely observed idle boundary. Initial
|
|
634
|
+
and follow-up executor results use LMA’s durable body/attachment outbox with actual
|
|
635
|
+
platform receipts; no extra execution message is required. `/go status`,
|
|
636
|
+
`/go pause|resume|stop`, `/go model <provider/model>` control it. LMA's MessageStore
|
|
637
|
+
owns objective, criteria, revision and completion, independent of native Goal APIs.
|
|
638
|
+
Enable the included `lma-go` plugin first (operator-owned). Dynamic Checker binding
|
|
639
|
+
is enforced before model admission. See [integration boundaries and local activation](docs/go-integration-boundaries.md).
|
package/README.zh-CN.md
CHANGED
|
@@ -530,3 +530,13 @@ MIT
|
|
|
530
530
|
steer V2 与问答适配器。
|
|
531
531
|
|
|
532
532
|
计时、API 参数及限制详见 [前台静默计时说明](docs/foreground-idle-2026-09-11.md)。
|
|
533
|
+
|
|
534
|
+
### 独立 Go Checker
|
|
535
|
+
|
|
536
|
+
`/go <目标>` 设定目标、创建专用验收 Checker,并在安全空闲边界首次提交原目标,
|
|
537
|
+
无需再发一条执行消息。首次与自动跟进的执行结果统一通过 LMA 正文/附件持久化 outbox
|
|
538
|
+
投递,实际飞书消息回执才成为验收证据;`/go status`、`/go pause|resume|stop`、
|
|
539
|
+
`/go model <provider/model>` 控制监督。目标、验收条件、revision 和完成权由 LMA
|
|
540
|
+
MessageStore 管理,不依赖或修改原生 Goal。需由操作者启用随仓库提供的 `lma-go`
|
|
541
|
+
插件;动态绑定后真实禁止 Checker 全部工具。详见
|
|
542
|
+
[能力边界和本机激活步骤](docs/go-integration-boundaries.md)。
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Coarse phase of the compaction flow, drives the card's primary line. */
|
|
2
|
-
export type CompactPhase = "native" | "transcript-trim" | "trim";
|
|
2
|
+
export type CompactPhase = "native" | "transcript-trim" | "trim" | "tooltrim";
|
|
3
3
|
/** Terminal outcome used by the renderer to pick color/emoji. */
|
|
4
4
|
export type CompactState = "running" | "done" | "failed" | "noop";
|
|
5
5
|
/** Structured snapshot the renderer turns into a Feishu interactive card. */
|
|
@@ -52,6 +52,8 @@ export declare class CompactProgressController {
|
|
|
52
52
|
start(): void;
|
|
53
53
|
/** Switch straight into explicit transcript-trim mode (user-requested trim). */
|
|
54
54
|
toTrim(): void;
|
|
55
|
+
/** Switch into ToolTrim mode (keep text, filter tool payload). */
|
|
56
|
+
toToolTrim(): void;
|
|
55
57
|
/** Native compaction gave up; switch to Gateway-owned transcript-tail trim. */
|
|
56
58
|
toTranscriptTrim(): Promise<void>;
|
|
57
59
|
/** Finished successfully; patch the card to the done state with a detail line. */
|
package/dist/compact-progress.js
CHANGED
|
@@ -47,10 +47,16 @@ export class CompactProgressController {
|
|
|
47
47
|
}
|
|
48
48
|
/** Switch straight into explicit transcript-trim mode (user-requested trim). */
|
|
49
49
|
toTrim() {
|
|
50
|
-
if (this.finalized || this.phase === "trim" || this.phase === "transcript-trim")
|
|
50
|
+
if (this.finalized || this.phase === "trim" || this.phase === "transcript-trim" || this.phase === "tooltrim")
|
|
51
51
|
return;
|
|
52
52
|
this.phase = "trim";
|
|
53
53
|
}
|
|
54
|
+
/** Switch into ToolTrim mode (keep text, filter tool payload). */
|
|
55
|
+
toToolTrim() {
|
|
56
|
+
if (this.finalized || this.phase === "tooltrim" || this.phase === "transcript-trim")
|
|
57
|
+
return;
|
|
58
|
+
this.phase = "tooltrim";
|
|
59
|
+
}
|
|
54
60
|
/** Native compaction gave up; switch to Gateway-owned transcript-tail trim. */
|
|
55
61
|
async toTranscriptTrim() {
|
|
56
62
|
if (this.finalized || this.phase === "transcript-trim")
|
package/dist/feishu-bot.d.ts
CHANGED
|
@@ -42,7 +42,18 @@ export declare class FeishuBot {
|
|
|
42
42
|
private sendModelFooters;
|
|
43
43
|
private replyStatusFooters;
|
|
44
44
|
private sendStatusFooters;
|
|
45
|
+
/** Batch-scoped run-failure observers: steered inputs whose owning batch
|
|
46
|
+
* fails restore their durable fallback. Fired in processQueueInner's
|
|
47
|
+
* failure arms; dropped at each new batch top and on queue exit. */
|
|
48
|
+
private runFailureObservers;
|
|
49
|
+
/** Steered messages admitted into the CURRENT batch (per chat). Flipped to
|
|
50
|
+
* DONE when that batch completes successfully; cleared (unflipped) when the
|
|
51
|
+
* batch scope ends any other way. */
|
|
52
|
+
private admittedSteerAcks;
|
|
45
53
|
/** Go / Go-Checker supervision controller (per-bot instance). */
|
|
54
|
+
private readonly goDeliveryReceipts;
|
|
55
|
+
private readonly goReceiptApis;
|
|
56
|
+
private installGoReceiptCapture;
|
|
46
57
|
private goController;
|
|
47
58
|
/** Per-chat durable outbox retry timer. */
|
|
48
59
|
private deliveryRetryTimers;
|
|
@@ -123,6 +134,8 @@ export declare class FeishuBot {
|
|
|
123
134
|
* Process queued messages for a chat: batch all unsynced messages and send to OpenClaw.
|
|
124
135
|
* Loops until no more unsynced human messages remain.
|
|
125
136
|
*/
|
|
137
|
+
/** Fire and clear run-failure observers for a chat (isolated callbacks). */
|
|
138
|
+
private fireRunFailureObservers;
|
|
126
139
|
private processQueue;
|
|
127
140
|
private processQueueInner;
|
|
128
141
|
private shouldHandleBridgeCommand;
|
|
@@ -211,6 +224,9 @@ export declare class FeishuBot {
|
|
|
211
224
|
/** Bounded read-only diagnosis; known live tasks retain low-frequency observation. */
|
|
212
225
|
private reconcileErrorNotices;
|
|
213
226
|
private scheduleDeliveryRetry;
|
|
227
|
+
/** Both initial and CONTINUE results enter the same ordinary LMA outbox.
|
|
228
|
+
* No host proactive-send assumption, no fake platform receipt. */
|
|
229
|
+
private deliverGoExecutorResult;
|
|
214
230
|
private dispatchPendingDeliveries;
|
|
215
231
|
private hasFreeModeBot;
|
|
216
232
|
private mentionedBotNames;
|