Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

chore(plugins): 撤回冲突处理之外的提示改动

liugaowei5e093710ed3b
diff --git a/apps/desktop/src/renderer/features/plugin/MyPluginsPage.tsx b/apps/desktop/src/renderer/features/plugin/MyPluginsPage.tsx
index 9da0d05d3b..4bb9ff3b7c 100644
--- a/apps/desktop/src/renderer/features/plugin/MyPluginsPage.tsx
+++ b/apps/desktop/src/renderer/features/plugin/MyPluginsPage.tsx
@@ -833,7 +833,6 @@ export function MyPluginsPage({
<h3 className="text-13 font-medium leading-5 text-[var(--text-secondary)]">{t(`${copy}.releaseNotes`)}</h3>
<p className="select-text whitespace-pre-wrap break-words text-14 leading-6 text-[var(--text-primary)]">{currentUpdateDraft.prepared.releaseNotes}</p>
</> : null}
- {!updateBlocker && currentUpdateDraft.prepared.preflight?.actions.canSubmit ? <p className="text-13 leading-5 text-[var(--text-secondary)]">{t(`${copy}.versionConsumedHint`)}</p> : null}
{updateBlocker ? <p role="status" className="text-13 leading-5 text-[var(--text-secondary)]">{t(`${copy}.errors.${updateBlocker.code}`, { defaultValue: t(`${copy}.errors.PRECONDITION_FAILED`) })}</p> : null}
</> : <p role={currentUpdateDraft?.error ? 'alert' : 'status'} className="text-13 leading-5 text-[var(--text-secondary)]">{t(currentUpdateDraft?.error ?? `${copy}.preparing`)}</p> : null}
</section>
diff --git a/apps/desktop/src/renderer/features/plugin/PluginPublishDialog.tsx b/apps/desktop/src/renderer/features/plugin/PluginPublishDialog.tsx
index 94c7f2acba..e8e1ddbd1c 100644
--- a/apps/desktop/src/renderer/features/plugin/PluginPublishDialog.tsx
+++ b/apps/desktop/src/renderer/features/plugin/PluginPublishDialog.tsx
@@ -199,7 +199,6 @@ export function PluginPublishDialog({
<p className="whitespace-pre-wrap break-words">{currentPickerDraft.prepared.releaseNotes}</p>
</> : null}
<p>{t(`${copy}.confirmPublic`)}</p>
- {!pickerBlocker && currentPickerDraft.prepared.preflight?.actions.canSubmit ? <p>{t(`${copy}.versionConsumedHint`)}</p> : null}
</> : pickerReady && !selectedPickerUnavailable && !currentPickerDraft?.error && !selectedVersionRead?.failure ? <p role="status">{t(`${copy}.${versionReady ? 'preparing' : 'loading'}`)}</p> : null}
</section>
) : null}