fix: 收敛 AgentRun Secret 同步输出

This commit is contained in:
Codex
2026-07-12 09:49:17 +02:00
parent 36e36a0af9
commit 5f777c59f8
8 changed files with 655 additions and 14 deletions
+2 -11
View File
@@ -298,17 +298,8 @@ export async function secretSync(config: UniDeskConfig, options: SecretSyncOptio
filter: options.secretIds.length === 0 ? null : { secretIds: options.secretIds, selected: sources.map((source) => source.id) },
plan: {
secretCount: plan.length,
items: plan.slice(0, 8).map((item) => ({
id: item.id,
namespace: item.namespace,
secret: item.secret,
key: item.key,
present: item.present,
fingerprint: item.fingerprint,
valueBytes: item.valueBytes,
valuesPrinted: false,
})),
omittedCount: Math.max(0, plan.length - 8),
items: plan,
omittedCount: 0,
valuesPrinted: false,
},
activationPreflight,