Skip to content

Commit 4df95d3

Browse files
committed
docs: document package sources
1 parent b8d08f0 commit 4df95d3

270 files changed

Lines changed: 274 additions & 1 deletion

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

packages/acp-core/src/error-format.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// ACP Core helper module supports error format behavior.
12
const SECRET_PATTERNS: RegExp[] = [
23
/\b[A-Z0-9_]*(?:KEY|TOKEN|SECRET|PASSWORD|PASSWD|CARD[_-]?NUMBER|CARD[_-]?CVC|CARD[_-]?CVV|CVC|CVV|SECURITY[_-]?CODE|PAYMENT[_-]?CREDENTIAL|SHARED[_-]?PAYMENT[_-]?TOKEN)\b\s*[=:]\s*(["']?)([^\s"'\\]+)\1/g,
34
/\b[A-Z0-9_]*(?:KEY|TOKEN|SECRET|PASSWORD|PASSWD|CARD[_-]?NUMBER|CARD[_-]?CVC|CARD[_-]?CVV|CVC|CVV|SECURITY[_-]?CODE|PAYMENT[_-]?CREDENTIAL|SHARED[_-]?PAYMENT[_-]?TOKEN)\b\s*[=:]\s*\\+(["'])([^\s"'\\]+)\\+\1/g,

packages/acp-core/src/meta.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// ACP Core tests cover meta behavior.
12
import { describe, expect, it } from "vitest";
23
import { readBool, readNonNegativeInteger, readNumber, readString } from "./meta.js";
34

packages/acp-core/src/meta.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// ACP Core module implements meta behavior.
12
import { normalizeOptionalString } from "@openclaw/normalization-core/string-coerce";
23

34
function readMetaValue<T>(

packages/acp-core/src/numeric-options.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// ACP Core module implements numeric options behavior.
12
import { resolveIntegerOption as resolveSharedIntegerOption } from "@openclaw/normalization-core/number-coercion";
23

34
/** Resolves ACP integer options through the shared normalization contract. */

packages/acp-core/src/runtime/error-text.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// ACP Core tests cover error text behavior.
12
import { describe, expect, it } from "vitest";
23
import { formatAcpRuntimeErrorText, toAcpRuntimeErrorText } from "./error-text.js";
34
import { AcpRuntimeError, toAcpRuntimeError } from "./errors.js";

packages/acp-core/src/runtime/error-text.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// ACP Core module implements error text behavior.
12
import { type AcpRuntimeErrorCode, AcpRuntimeError, toAcpRuntimeError } from "./errors.js";
23

34
function resolveAcpRuntimeErrorNextStep(error: AcpRuntimeError): string | undefined {

packages/acp-core/src/runtime/errors.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// ACP Core tests cover errors behavior.
12
import { afterEach, describe, expect, it } from "vitest";
23
import { configureAcpErrorRedactor } from "../error-format.js";
34
import {

packages/acp-core/src/runtime/errors.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// ACP Core module implements errors behavior.
12
import { redactSensitiveText, stringifyNonErrorCause } from "../error-format.js";
23

34
export const ACP_ERROR_CODES = [

packages/acp-core/src/runtime/session-identifiers.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// ACP Core tests cover session identifiers behavior.
12
import { describe, expect, it } from "vitest";
23
import {
34
resolveAcpSessionCwd,

packages/acp-core/src/runtime/session-identifiers.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// ACP Core module implements session identifiers behavior.
12
import { normalizeLowercaseStringOrEmpty } from "@openclaw/normalization-core/string-coerce";
23
import { normalizeText } from "../normalize-text.js";
34
import type { SessionAcpIdentity, SessionAcpMeta } from "../types.js";

0 commit comments

Comments
 (0)