Skip to content

Commit ea6d3a3

Browse files
committed
docs: document auto reply dispatch helpers
1 parent 26355cc commit ea6d3a3

24 files changed

Lines changed: 24 additions & 0 deletions

src/auto-reply/reply/agent-runner-cli-dispatch.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Builds CLI runtime dispatch inputs for agent runner executions.
12
import { isRecord } from "@openclaw/normalization-core/record-coerce";
23
import {
34
normalizeLowercaseStringOrEmpty,

src/auto-reply/reply/agent-runner.runreplyagent.e2e.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// E2E tests for run-reply-agent execution and generated session artifacts.
12
import { mkdtemp, readFile, rm, writeFile } from "node:fs/promises";
23
import { tmpdir } from "node:os";
34
import { join } from "node:path";

src/auto-reply/reply/block-reply-pipeline.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Buffers streaming reply blocks before coalesced final delivery.
12
import {
23
hasOutboundReplyContent,
34
resolveSendableOutboundReplyParts,

src/auto-reply/reply/commands-bash.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Implements bash command execution, approval, and stop handling.
12
import { resolveSessionAgentId } from "../../agents/agent-scope.js";
23
import { handleBashChatCommand } from "./bash-command.js";
34
import { rejectUnauthorizedCommand } from "./command-gates.js";

src/auto-reply/reply/commands-compact.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Implements compaction commands for session context and model state.
12
import { normalizeProviderId } from "@openclaw/model-catalog-core/provider-id";
23
import {
34
normalizeLowercaseStringOrEmpty,

src/auto-reply/reply/commands-context-command.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Implements context inspection commands for the active reply session.
12
import { logVerbose } from "../../globals.js";
23
import { buildContextReply } from "./commands-context-report.js";
34
import type { CommandHandler } from "./commands-types.js";

src/auto-reply/reply/commands-export-session.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Builds export bundles for a session transcript and runtime context.
12
import fsp from "node:fs/promises";
23
import path from "node:path";
34
import { fileURLToPath } from "node:url";

src/auto-reply/reply/commands-plugins.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Tests plugin command install, listing, and config behavior.
12
import { beforeEach, describe, expect, it, vi } from "vitest";
23
import type { OpenClawConfig } from "../../config/config.js";
34
import { handlePluginsCommand } from "./commands-plugins.js";

src/auto-reply/reply/commands-session-abort.test-support.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Shared mocks for session abort command tests.
12
import { vi } from "vitest";
23

34
vi.mock("./queue.js", async () => {

src/auto-reply/reply/commands-session.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Implements session commands for list, show, fork, reset, and routing state.
12
import { timestampMsToIsoString } from "@openclaw/normalization-core/number-coercion";
23
import {
34
normalizeLowercaseStringOrEmpty,

0 commit comments

Comments
 (0)