refactor(commands): hide doctor helper types · openclaw/openclaw@f559b75
vincentkoc
·
2026-06-17
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -28,7 +28,7 @@ export function shouldShowChannelInSetup(
|
28 | 28 | return isChannelVisibleInSetup(meta); |
29 | 29 | } |
30 | 30 | |
31 | | -export type ResolvedChannelSetupEntries = { |
| 31 | +type ResolvedChannelSetupEntries = { |
32 | 32 | entries: ChannelCatalogEntry[]; |
33 | 33 | installedCatalogEntries: ChannelPluginCatalogEntry[]; |
34 | 34 | installableCatalogEntries: ChannelPluginCatalogEntry[]; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -7,9 +7,9 @@ import { findBundledPackageChannelMetadata } from "../../plugins/bundled-package
|
7 | 7 | import type { PluginPackageChannelDoctorCapabilities } from "../../plugins/manifest.js"; |
8 | 8 | import type { AllowFromMode } from "./shared/allow-from-mode.types.js"; |
9 | 9 | |
10 | | -export type DoctorGroupModel = "sender" | "route" | "hybrid"; |
| 10 | +type DoctorGroupModel = "sender" | "route" | "hybrid"; |
11 | 11 | |
12 | | -export type DoctorChannelCapabilities = { |
| 12 | +type DoctorChannelCapabilities = { |
13 | 13 | dmAllowFromMode: AllowFromMode; |
14 | 14 | groupModel: DoctorGroupModel; |
15 | 15 | groupAllowFromFallbackToAllowFrom: boolean; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -5,7 +5,7 @@ import {
|
5 | 5 | } from "@openclaw/normalization-core/string-coerce"; |
6 | 6 | import { normalizeHttpWebhookUrl } from "../../../cron/webhook-url.js"; |
7 | 7 | |
8 | | -export type LegacyNotifyMigrationOutcome = { |
| 8 | +type LegacyNotifyMigrationOutcome = { |
9 | 9 | changed: boolean; |
10 | 10 | warnings: string[]; |
11 | 11 | }; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -4,8 +4,8 @@ import { normalizeOptionalString } from "../../../../packages/normalization-core
|
4 | 4 | import { normalizeCronJobInput } from "../../../cron/normalize.js"; |
5 | 5 | import type { CronJob } from "../../../cron/types.js"; |
6 | 6 | |
7 | | -export type CronLegacyIssueCounts = Partial<Record<string, number>>; |
8 | | -export type CronLegacyIssueDetails = { |
| 7 | +type CronLegacyIssueCounts = Partial<Record<string, number>>; |
| 8 | +type CronLegacyIssueDetails = { |
9 | 9 | unresolvedAgentTurnShellToolPrompt?: string[]; |
10 | 10 | }; |
11 | 11 | |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -20,7 +20,7 @@ import type { PluginManifestRecord } from "../../../plugins/manifest-registry.js
|
20 | 20 | import { loadPluginManifestRegistryForPluginRegistry } from "../../../plugins/plugin-registry.js"; |
21 | 21 | import { isSafeChannelEnvVarTriggerName } from "../../../secrets/channel-env-var-names.js"; |
22 | 22 | |
23 | | -export type ChannelPluginBlockerHit = { |
| 23 | +type ChannelPluginBlockerHit = { |
24 | 24 | /** Normalized configured channel id whose backing plugin is unavailable. */ |
25 | 25 | channelId: string; |
26 | 26 | /** Plugin id that would provide the configured channel. */ |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -8,7 +8,7 @@ import { normalizeOptionalLowercaseString as normalizeString } from "@openclaw/n
|
8 | 8 | import { collectConfiguredAgentHarnessRuntimes } from "../../../agents/harness-runtimes.js"; |
9 | 9 | import type { OpenClawConfig } from "../../../config/types.openclaw.js"; |
10 | 10 | |
11 | | -export type CodexNativeAssetHit = { |
| 11 | +type CodexNativeAssetHit = { |
12 | 12 | /** Native Codex asset category discovered under Codex or personal agent homes. */ |
13 | 13 | kind: "skill" | "plugin" | "config" | "hooks"; |
14 | 14 | /** Absolute path to the asset or asset container. */ |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -7,7 +7,7 @@ import {
|
7 | 7 | import type { OpenClawConfig } from "../../../config/types.openclaw.js"; |
8 | 8 | import type { PluginPackageInstall } from "../../../plugins/manifest.js"; |
9 | 9 | |
10 | | -export type ConfiguredRuntimePluginInstallCandidate = { |
| 10 | +type ConfiguredRuntimePluginInstallCandidate = { |
11 | 11 | /** Runtime/plugin id used in config and plugin installation records. */ |
12 | 12 | pluginId: string; |
13 | 13 | /** Human-readable plugin label for prompts and notes. */ |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -22,7 +22,7 @@ import { ensurePluginRegistryLoaded } from "../../../plugins/runtime/runtime-reg
|
22 | 22 | import { defaultSlotIdForKey } from "../../../plugins/slots.js"; |
23 | 23 | import { isRecord, resolveUserPath } from "../../../utils.js"; |
24 | 24 | |
25 | | -export type HostCandidate = { |
| 25 | +type HostCandidate = { |
26 | 26 | /** Runtime or harness id that will host an agent run. */ |
27 | 27 | runtimeId: string; |
28 | 28 | /** Context-engine host capability descriptor for the runtime. */ |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。