style: normalize type definitions

This commit is contained in:
Peter Steinberger
2026-01-06 07:21:10 +01:00
parent aa16b679ad
commit 51e8bbd2a8
2 changed files with 5 additions and 6 deletions

View File

@@ -9,8 +9,8 @@ import {
DEFAULT_SANDBOX_COMMON_IMAGE,
DEFAULT_SANDBOX_IMAGE,
} from "../agents/sandbox.js";
import { DEFAULT_AGENTS_FILENAME } from "../agents/workspace.js";
import { buildWorkspaceSkillStatus } from "../agents/skills-status.js";
import { DEFAULT_AGENTS_FILENAME } from "../agents/workspace.js";
import type { ClawdbotConfig } from "../config/config.js";
import {
CONFIG_PATH_CLAWDBOT,
@@ -142,7 +142,9 @@ const MEMORY_SYSTEM_PROMPT = [
"https://github.com/clawdbot/clawdbot/commit/7d1fee70e76f2f634f1b41fca927ee663914183a",
].join("\n");
async function shouldSuggestMemorySystem(workspaceDir: string): Promise<boolean> {
async function shouldSuggestMemorySystem(
workspaceDir: string,
): Promise<boolean> {
const memoryPaths = [
path.join(workspaceDir, "MEMORY.md"),
path.join(workspaceDir, "memory.md"),

View File

@@ -16,10 +16,7 @@ declare module "proper-lockfile" {
export type ReleaseFn = () => Promise<void>;
export function lock(
path: string,
options?: LockOptions,
): Promise<ReleaseFn>;
export function lock(path: string, options?: LockOptions): Promise<ReleaseFn>;
const lockfile: {
lock: typeof lock;