Skip to content

Commit edb920b

Browse files
committed
docs: document remaining src helpers
1 parent b2e320d commit edb920b

30 files changed

Lines changed: 30 additions & 0 deletions

src/context-engine/context-engine.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Context engine tests cover context extraction and prompt context assembly.
12
import type { AgentMessage } from "openclaw/plugin-sdk/agent-core";
23
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
34
import type { MemoryCitationsMode } from "../config/types.memory.js";

src/context-engine/host-compat.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Context engine host compatibility tests cover host API compatibility behavior.
12
import { describe, expect, it } from "vitest";
23
import {
34
assertContextEngineHostSupport,

src/i18n/registry.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// I18n registry tests cover locale bundle lookup and fallback behavior.
12
import fs from "node:fs";
23
import { fileURLToPath } from "node:url";
34
import { describe, expect, it } from "vitest";

src/interactive/payload.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Interactive payload tests cover validation of interactive response payloads.
12
import { describe, expect, it } from "vitest";
23
import {
34
hasReplyChannelData,

src/interactive/payload.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Interactive payload helpers normalize structured interactive UI payloads.
12
import { asOptionalRecord as toRecord } from "@openclaw/normalization-core/record-coerce";
23
import {
34
normalizeOptionalLowercaseString,

src/memory-host-sdk/dreaming.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Memory host dreaming tests cover dreaming artifact persistence and lookup.
12
import { describe, expect, it } from "vitest";
23
import type { OpenClawConfig } from "../config/config.js";
34
import {

src/memory-host-sdk/dreaming.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Memory host dreaming helpers record and load memory dreaming artifacts.
12
import path from "node:path";
23
import { asNullableRecord } from "@openclaw/normalization-core/record-coerce";
34
import {

src/memory-host-sdk/events.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Memory host event helpers append and read memory host event logs.
12
import fs from "node:fs/promises";
23
import path from "node:path";
34
import { appendRegularFile } from "../infra/fs-safe.js";

src/memory-host-sdk/host/backend-config.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Memory host backend config tests cover backend configuration normalization.
12
import { describe, expect, it } from "vitest";
23
import { resolveMemoryBackendConfig as packageResolveMemoryBackendConfig } from "../../../packages/memory-host-sdk/src/host/backend-config.js";
34
import { resolveMemoryBackendConfig } from "./backend-config.js";

src/plugin-state/plugin-state-store.e2e.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Plugin state store E2E tests cover persisted plugin state across runtime calls.
12
import { afterEach, describe, expect, it, vi } from "vitest";
23
import { withOpenClawTestState } from "../test-utils/openclaw-test-state.js";
34
import {

0 commit comments

Comments
 (0)