Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
fix(plugins): 恢复提审前的版本号提示
liugaowei217542551c6a
diff --git a/apps/desktop/src/renderer/features/plugin/MyPluginsPage.tsx b/apps/desktop/src/renderer/features/plugin/MyPluginsPage.tsxindex 4bb9ff3b7c..9da0d05d3b 100644--- a/apps/desktop/src/renderer/features/plugin/MyPluginsPage.tsx+++ b/apps/desktop/src/renderer/features/plugin/MyPluginsPage.tsx@@ -833,6 +833,7 @@ 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.tsxindex e8e1ddbd1c..94c7f2acba 100644--- a/apps/desktop/src/renderer/features/plugin/PluginPublishDialog.tsx+++ b/apps/desktop/src/renderer/features/plugin/PluginPublishDialog.tsx@@ -199,6 +199,7 @@ 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}