test: remove stale unused imports · openclaw/openclaw@01741f8
shakkernerd
·
2026-05-09
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -4,7 +4,7 @@ import type {
|
4 | 4 | BrowserActionTabResult, |
5 | 5 | } from "./client-actions-types.js"; |
6 | 6 | import { buildProfileQuery, withBaseUrl } from "./client-actions-url.js"; |
7 | | -import type { BrowserActRequest, BrowserFormField } from "./client-actions.types.js"; |
| 7 | +import type { BrowserActRequest } from "./client-actions.types.js"; |
8 | 8 | import { fetchBrowserJson } from "./client-fetch.js"; |
9 | 9 | import { |
10 | 10 | DEFAULT_BROWSER_ACTION_TIMEOUT_MS, |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -29,7 +29,6 @@ import {
|
29 | 29 | parseMessageContent, |
30 | 30 | resolveFeishuGroupSession, |
31 | 31 | resolveFeishuMediaList, |
32 | | -toMessageResourceType, |
33 | 32 | } from "./bot-content.js"; |
34 | 33 | import { |
35 | 34 | buildAgentMediaPayload, |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -7,7 +7,6 @@ export { parseGeminiAuth };
|
7 | 7 | export { applyGoogleGeminiModelDefault, GOOGLE_GEMINI_DEFAULT_MODEL } from "./onboard.js"; |
8 | 8 | import { |
9 | 9 | DEFAULT_GOOGLE_API_BASE_URL, |
10 | | -normalizeGoogleApiBaseUrl, |
11 | 10 | normalizeGoogleGenerativeAiBaseUrl, |
12 | 11 | } from "./provider-policy.js"; |
13 | 12 | export { normalizeAntigravityModelId, normalizeGoogleModelId } from "./model-id.js"; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -10,7 +10,6 @@ import { DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS } from "./constants.js";
|
10 | 10 | import { |
11 | 11 | clearCachedIMessagePrivateApiStatus, |
12 | 12 | getCachedIMessagePrivateApiStatus, |
13 | | -imessageRpcSupportsMethod, |
14 | 13 | setCachedIMessagePrivateApiStatus, |
15 | 14 | type IMessagePrivateApiStatus, |
16 | 15 | } from "./private-api-status.js"; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -27,18 +27,10 @@ import {
|
27 | 27 | normalizeOptionalAccountId, |
28 | 28 | ssrfPolicyFromDangerouslyAllowPrivateNetwork, |
29 | 29 | } from "./config-runtime-api.js"; |
30 | | -import { |
31 | | -hasReadyMatrixEnvAuth, |
32 | | -resolveGlobalMatrixEnvConfig, |
33 | | -resolveMatrixEnvAuthReadiness, |
34 | | -resolveScopedMatrixEnvConfig, |
35 | | -} from "./env-auth.js"; |
| 30 | +import { resolveGlobalMatrixEnvConfig, resolveScopedMatrixEnvConfig } from "./env-auth.js"; |
36 | 31 | import { repairCurrentTokenStorageMetaDeviceId } from "./storage.js"; |
37 | 32 | import type { MatrixAuth, MatrixResolvedConfig } from "./types.js"; |
38 | | -import { |
39 | | -resolveValidatedMatrixHomeserverUrl, |
40 | | -validateMatrixHomeserverUrl, |
41 | | -} from "./url-validation.js"; |
| 33 | +import { resolveValidatedMatrixHomeserverUrl } from "./url-validation.js"; |
42 | 34 | |
43 | 35 | type MatrixAuthClientDeps = { |
44 | 36 | MatrixClient: typeof import("../sdk.js").MatrixClient; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -3,11 +3,7 @@ import { coerceSecretRef } from "openclaw/plugin-sdk/secret-ref-runtime";
|
3 | 3 | import { normalizeSecretInputString } from "openclaw/plugin-sdk/setup"; |
4 | 4 | import type { CoreConfig, MatrixConfig } from "../types.js"; |
5 | 5 | import { findMatrixAccountConfig } from "./account-config.js"; |
6 | | -import { |
7 | | -resolveMatrixConfigFieldPath, |
8 | | -resolveMatrixConfigPath, |
9 | | -shouldStoreMatrixAccountAtTopLevel, |
10 | | -} from "./config-paths.js"; |
| 6 | +import { shouldStoreMatrixAccountAtTopLevel } from "./config-paths.js"; |
11 | 7 | |
12 | 8 | export { |
13 | 9 | resolveMatrixConfigFieldPath, |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -11,7 +11,6 @@ import {
|
11 | 11 | execAz, |
12 | 12 | getAccessTokenResult, |
13 | 13 | getLoggedInAccount, |
14 | | -listSubscriptions, |
15 | 14 | } from "./cli.js"; |
16 | 15 | import { |
17 | 16 | type AzAccount, |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -2,7 +2,6 @@ import { createRequire } from "node:module";
|
2 | 2 | import path from "node:path"; |
3 | 3 | import { loadJsonFile } from "openclaw/plugin-sdk/json-store"; |
4 | 4 | import { |
5 | | -buildExecRemoteCommand, |
6 | 5 | createSshSandboxSessionFromConfigText, |
7 | 6 | runPluginCommandWithTimeout, |
8 | 7 | shellEscape, |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -2,8 +2,6 @@ import http from "node:http";
|
2 | 2 | import https from "node:https"; |
3 | 3 | import { fetchWithSsrFGuard } from "openclaw/plugin-sdk/ssrf-runtime"; |
4 | 4 | import type { |
5 | | -QaBusConversation, |
6 | | -QaBusEvent, |
7 | 5 | QaBusInboundMessageInput, |
8 | 6 | QaBusMessage, |
9 | 7 | QaBusPollResult, |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | import { |
2 | 2 | DEFAULT_QA_LIVE_PROVIDER_MODE, |
3 | 3 | getQaProvider, |
4 | | -type QaProviderMode, |
5 | 4 | type QaProviderModeInput, |
6 | 5 | } from "./providers/index.js"; |
7 | 6 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。