docs: document btw side-question helpers · openclaw/openclaw@67ff2f8
steipete
·
2026-06-04
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +/** |
| 2 | + * Reads prior session transcript context for `/btw` side-question handoffs. |
| 3 | + */ |
1 | 4 | import { readFile } from "node:fs/promises"; |
2 | 5 | import { |
3 | 6 | resolveSessionFilePath, |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +/** |
| 2 | + * Runs `/btw` side questions against the active conversation without resuming |
| 3 | + * or continuing the main task. |
| 4 | + */ |
1 | 5 | import { normalizeLowercaseStringOrEmpty } from "@openclaw/normalization-core/string-coerce"; |
2 | 6 | import type { GetReplyOptions } from "../auto-reply/get-reply-options.types.js"; |
3 | 7 | import type { ReplyPayload } from "../auto-reply/reply-payload.js"; |
@@ -312,6 +316,7 @@ type RunBtwSideQuestionParams = {
|
312 | 316 | currentChannelId?: string; |
313 | 317 | }; |
314 | 318 | |
| 319 | +/** Answers a side question using sanitized session context and no tool execution. */ |
315 | 320 | export async function runBtwSideQuestion( |
316 | 321 | params: RunBtwSideQuestionParams, |
317 | 322 | ): Promise<ReplyPayload | undefined> { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。