diff --git a/README.md b/README.md index 6d951843a26..47b6a50b0f3 100644 --- a/README.md +++ b/README.md @@ -416,6 +416,8 @@ git merge upstream/main MIT Licensed. Fork it, extend it, make it yours. +[](https://www.star-history.com/?repos=denchHQ%2Fironclaw&type=date&legend=top-left) +
diff --git a/apps/web/vitest.config.ts b/apps/web/vitest.config.ts index a5fa034aa7f..bc955623132 100644 --- a/apps/web/vitest.config.ts +++ b/apps/web/vitest.config.ts @@ -13,10 +13,6 @@ export default defineConfig({ }, test: { environment: "node", - environmentMatchGlobs: [ - ["app/components/**/*.test.tsx", "jsdom"], - ["app/workspace/**/*.test.tsx", "jsdom"], - ], setupFiles: ["./vitest.setup.ts"], include: [ "lib/**/*.test.ts", diff --git a/src/cli/workspace-seed.test.ts b/src/cli/workspace-seed.test.ts index 132d863b1f6..05f59199cf9 100644 --- a/src/cli/workspace-seed.test.ts +++ b/src/cli/workspace-seed.test.ts @@ -1,6 +1,6 @@ import { existsSync, mkdirSync, readFileSync, rmSync, writeFileSync } from "node:fs"; -import path from "node:path"; import os from "node:os"; +import path from "node:path"; import { afterEach, beforeEach, describe, expect, it } from "vitest"; import { seedWorkspaceFromAssets } from "./workspace-seed.js"; diff --git a/src/infra/outbound/deliver.ts b/src/infra/outbound/deliver.ts index 1c8aa027b19..6891b4aa386 100644 --- a/src/infra/outbound/deliver.ts +++ b/src/infra/outbound/deliver.ts @@ -1,9 +1,33 @@ /** Stub type for test setup; full implementation may live in upstream. */ export type OutboundSendDeps = { - sendDiscord?: (to: string, text: string, opts?: { verbose?: boolean; mediaUrl?: string }) => Promise<{ channel?: string; messageId?: string }>; - sendSlack?: (to: string, text: string, opts?: { verbose?: boolean; mediaUrl?: string }) => Promise<{ channel?: string; messageId?: string }>; - sendTelegram?: (to: string, text: string, opts?: { verbose?: boolean; mediaUrl?: string }) => Promise<{ channel?: string; messageId?: string }>; - sendWhatsApp?: (to: string, text: string, opts?: { verbose?: boolean; mediaUrl?: string }) => Promise<{ channel?: string; messageId?: string }>; - sendSignal?: (to: string, text: string, opts?: { verbose?: boolean; mediaUrl?: string }) => Promise<{ channel?: string; messageId?: string }>; - sendIMessage?: (to: string, text: string, opts?: { verbose?: boolean; mediaUrl?: string }) => Promise<{ channel?: string; messageId?: string }>; + sendDiscord?: ( + to: string, + text: string, + opts?: { verbose?: boolean; mediaUrl?: string }, + ) => Promise<{ channel?: string; messageId?: string }>; + sendSlack?: ( + to: string, + text: string, + opts?: { verbose?: boolean; mediaUrl?: string }, + ) => Promise<{ channel?: string; messageId?: string }>; + sendTelegram?: ( + to: string, + text: string, + opts?: { verbose?: boolean; mediaUrl?: string }, + ) => Promise<{ channel?: string; messageId?: string }>; + sendWhatsApp?: ( + to: string, + text: string, + opts?: { verbose?: boolean; mediaUrl?: string }, + ) => Promise<{ channel?: string; messageId?: string }>; + sendSignal?: ( + to: string, + text: string, + opts?: { verbose?: boolean; mediaUrl?: string }, + ) => Promise<{ channel?: string; messageId?: string }>; + sendIMessage?: ( + to: string, + text: string, + opts?: { verbose?: boolean; mediaUrl?: string }, + ) => Promise<{ channel?: string; messageId?: string }>; }; diff --git a/tsconfig.json b/tsconfig.json index bc6439e921f..fd0e3ecd40c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -23,6 +23,6 @@ "openclaw/plugin-sdk/account-id": ["./src/plugin-sdk/account-id.ts"] } }, - "include": ["src/**/*", "ui/**/*", "extensions/**/*"], - "exclude": ["node_modules", "dist"] + "include": ["src/**/*", "ui/**/*"], + "exclude": ["node_modules", "dist", "extensions", "test"] }