release: prepare 1.24.2 identity and delivery integrity candidate
This commit is contained in:
@@ -83,6 +83,7 @@ export function DiffView({ change }: { change: Change }) {
|
||||
}
|
||||
export function ToolRow({ event, selected = false, onSelect }: { event: ToolEvent; selected?: boolean; onSelect: () => void }) {
|
||||
const phase = event.phase;
|
||||
const label = event.kind === 'model' && event.diagnostic?.kind === 'model_identity' ? event.diagnostic.title : event.label;
|
||||
const Symbol = ['waiting', 'unknown', 'unverified', 'queued', 'validating'].includes(phase) ? ShieldQuestion : ['running', 'retrying'].includes(phase) ? LoaderCircle
|
||||
: ['failed', 'denied', 'interrupted'].includes(phase) ? XCircle : Check;
|
||||
const detail = event.tool === 'run_command' ? String(event.input?.command || '')
|
||||
@@ -92,7 +93,7 @@ export function ToolRow({ event, selected = false, onSelect }: { event: ToolEven
|
||||
: event.tool === 'inspect_session' ? '会话 · 错误 · 当前状态' : event.kind === 'model' ? '模型服务' + (event.attempts && event.attempts > 1 ? ' · 第 ' + event.attempts + ' 次' : '') : '';
|
||||
return <button type="button" onClick={onSelect} className={'tool-row ' + (selected ? 'selected ' : '') + 'tool-' + phase}>
|
||||
<span className="tool-symbol"><Symbol size={14} className={['running', 'retrying'].includes(phase) ? 'spin' : ''} /></span>
|
||||
<span className="tool-name"><strong>{event.label}</strong>{detail && <span>{detail}</span>}</span>
|
||||
<span className="tool-name"><strong>{label}</strong>{detail && <span>{detail}</span>}</span>
|
||||
<span className="tool-end">{event.durationMs !== undefined ? (event.durationMs / 1000).toFixed(1) + 's' : phase === 'waiting' ? '待确认' : '…'}<ChevronRight size={13} /></span>
|
||||
</button>;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { randomUUID, createHash } from 'node:crypto';
|
||||
|
||||
export const APP_VERSION = '1.24.1';
|
||||
export const APP_VERSION = '1.24.2';
|
||||
|
||||
export function executionEnvironment() {
|
||||
const windows = process.platform === 'win32';
|
||||
|
||||
Reference in New Issue
Block a user