chore(release): bump to v0.7.2 — 高级设置 + WebUI 快捷入口 + loop_control 兼容 + macOS 安装脚本
Release / Attach macOS install script (push) Canceled after 0s
Release / Version consistency (push) Canceled after 0s
Release / Build (macos-latest) (push) Canceled after 0s
Release / Build (ubuntu-latest) (push) Canceled after 0s
Release / Build (windows-latest) (push) Canceled after 0s
Release / Attach macOS install script (push) Canceled after 0s
Release / Version consistency (push) Canceled after 0s
Release / Build (macos-latest) (push) Canceled after 0s
Release / Build (ubuntu-latest) (push) Canceled after 0s
Release / Build (windows-latest) (push) Canceled after 0s
This commit is contained in:
1 parent
24d37fbbf4
commit
fc09a29b9f
21 files changed
+492
-230
No files matched your search
@@ -24,7 +24,18 @@ const PERMISSION_LABELS: Record<(typeof PERMISSION_DECISIONS)[number], Translati
|
||||
ask: "permissionAsk",
|
||||
};
|
||||
|
||||
const COMMON_EVENTS = ["PreToolUse", "PostToolUse"] as const;
|
||||
// kimi-code 0.33+ added TurnStarted / UserPromptQueued / TaskStarted /
|
||||
// SessionHeartbeat hook events (plus SessionStart / SessionEnd).
|
||||
const COMMON_EVENTS = [
|
||||
"PreToolUse",
|
||||
"PostToolUse",
|
||||
"TurnStarted",
|
||||
"UserPromptQueued",
|
||||
"TaskStarted",
|
||||
"SessionHeartbeat",
|
||||
"SessionStart",
|
||||
"SessionEnd",
|
||||
] as const;
|
||||
|
||||
export function AgentSettingsPanel({ rawOther, onChange }: AgentSettingsPanelProps) {
|
||||
const { t } = useTranslation();
|
||||
@@ -91,9 +102,18 @@ export function AgentSettingsPanel({ rawOther, onChange }: AgentSettingsPanelPro
|
||||
|
||||
<Card title={t("loopControlSettings")}>
|
||||
<NumberField
|
||||
label={t("maxRetriesPerStep")}
|
||||
value={settings.loop_control?.max_retries_per_step ?? 3}
|
||||
onChange={(v) => updateLoopControl({ max_retries_per_step: v })}
|
||||
label={t("maxAttemptsPerStep")}
|
||||
value={
|
||||
settings.loop_control?.max_attempts_per_step ??
|
||||
settings.loop_control?.max_retries_per_step ??
|
||||
3
|
||||
}
|
||||
onChange={(v) =>
|
||||
updateLoopControl({
|
||||
max_attempts_per_step: v,
|
||||
max_retries_per_step: v,
|
||||
})
|
||||
}
|
||||
/>
|
||||
<NumberField
|
||||
label={t("reservedContextSize")}
|
||||
|
||||
Reference in new issue
Block a user