mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-08-28 19:11:03 +08:00
Merge pull request #12995 from Kilo-Org/fix/tool-approval-source-display
fix(vscode): tool approval source display
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"kilo-code": minor
|
||||
---
|
||||
|
||||
Move the "why was this tool call approved" line to after the tool output instead of between the header and body, add an icon to it, and add a Display setting to hide it.
|
||||
@@ -507,21 +507,25 @@ html[data-theme="kilo-vscode"] [data-component="tool-part-wrapper"][data-part-ty
|
||||
}
|
||||
}
|
||||
|
||||
/* "why was this allowed" line inside a tool's expanded body */
|
||||
/* "why was this allowed" line inside a tool's expanded body. Styled like
|
||||
[data-component="tool-hint"] (muted, italic) so it reads as ambient
|
||||
context rather than a call to action, and recedes the way reasoning text does. */
|
||||
[data-slot="tool-approval-line"] {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: baseline;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
padding: 4px 0 6px;
|
||||
font-family: var(--font-family-sans);
|
||||
font-size: var(--font-size-small);
|
||||
font-style: italic;
|
||||
line-height: var(--line-height-normal);
|
||||
color: var(--text-weak);
|
||||
opacity: 0.9;
|
||||
|
||||
[data-slot="tool-approval-decision"] {
|
||||
font-weight: var(--font-weight-medium);
|
||||
color: var(--text-strong);
|
||||
svg {
|
||||
flex-shrink: 0;
|
||||
color: var(--text-weak);
|
||||
}
|
||||
|
||||
[data-slot="tool-approval-rule"] {
|
||||
|
||||
@@ -44,18 +44,24 @@ export function BasicTool(props: BasicToolProps) {
|
||||
writeToolOpen(key(), open)
|
||||
props.onOpenChange?.(open)
|
||||
}
|
||||
// Renders after the body/tool list, not before — it's context about what
|
||||
// happened, not part of the header.
|
||||
const details = () => (
|
||||
<div data-slot="basic-tool-details">
|
||||
<Show when={inBody() && approval()}>{(value) => <ToolApprovalLine display={value()} />}</Show>
|
||||
{props.children}
|
||||
<Show when={inBody() && approval()}>{(value) => <ToolApprovalLine display={value()} />}</Show>
|
||||
</div>
|
||||
)
|
||||
if (!("children" in props) && !inBody()) {
|
||||
return <Base {...props} defaultOpen={initial()} retainDetails={props.defer} onOpenChange={change} />
|
||||
}
|
||||
// A <Show>, not a plain `if`: inBody() tracks the visibility toggle, which can
|
||||
// flip after mount (Settings), so the branch must stay reactive.
|
||||
return (
|
||||
<Base {...props} defaultOpen={initial()} retainDetails={props.defer} onOpenChange={change} hasDetails={inBody()}>
|
||||
{details()}
|
||||
</Base>
|
||||
<Show
|
||||
when={"children" in props || inBody()}
|
||||
fallback={<Base {...props} defaultOpen={initial()} retainDetails={props.defer} onOpenChange={change} />}
|
||||
>
|
||||
<Base {...props} defaultOpen={initial()} retainDetails={props.defer} onOpenChange={change} hasDetails={inBody()}>
|
||||
{details()}
|
||||
</Base>
|
||||
</Show>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ import { Tooltip } from "./tooltip"
|
||||
import { IconButton } from "./icon-button"
|
||||
import { TextShimmer } from "@opencode-ai/ui/text-shimmer"
|
||||
import { ToolApprovalProvider, resolveToolApproval } from "./tool-approval"
|
||||
export { ToolApprovalProvider, resolveToolApproval } from "./tool-approval"
|
||||
export { ToolApprovalProvider, resolveToolApproval, ToolApprovalVisibilityProvider } from "./tool-approval"
|
||||
import { GrowBox } from "./grow-box"
|
||||
import { COLLAPSIBLE_SPRING } from "./motion"
|
||||
import { busy, createThrottledValue, useToolFade, useContextToolPending } from "./tool-utils"
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { createContext, useContext, Show, type Accessor, type ParentProps } from "solid-js"
|
||||
import { Icon } from "./icon"
|
||||
|
||||
/**
|
||||
* Explains why a tool call was auto-approved, inside the expanded tool row.
|
||||
@@ -30,8 +31,23 @@ export function ToolApprovalProvider(props: ParentProps<{ value: Accessor<ToolAp
|
||||
return <Context.Provider value={props.value}>{props.children}</Context.Provider>
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether the approval line should render at all. Hosts that expose a "hide
|
||||
* auto-approval reason" display setting wrap their tree in
|
||||
* `ToolApprovalVisibilityProvider`; without one, the line stays visible.
|
||||
*/
|
||||
const VisibilityContext = createContext<Accessor<boolean>>(() => true)
|
||||
|
||||
export function ToolApprovalVisibilityProvider(props: ParentProps<{ value: Accessor<boolean> }>) {
|
||||
return <VisibilityContext.Provider value={props.value}>{props.children}</VisibilityContext.Provider>
|
||||
}
|
||||
|
||||
/** Read the approval for the tool row below, gated by the visibility toggle
|
||||
* here (not per call site) so a new `ToolApprovalProvider` usage can't forget it. */
|
||||
export function useToolApproval() {
|
||||
return useContext(Context)
|
||||
const value = useContext(Context)
|
||||
const visible = useContext(VisibilityContext)
|
||||
return () => (visible() ? value() : undefined)
|
||||
}
|
||||
|
||||
/** Read the raw approval payload off a tool part's metadata, if present. */
|
||||
@@ -79,6 +95,7 @@ export function ToolApprovalLine(props: { display: ToolApprovalDisplay }) {
|
||||
const manual = () => props.display.approval.source === "manual"
|
||||
return (
|
||||
<div data-slot="tool-approval-line" data-source={props.display.approval.source}>
|
||||
<Icon name="shield" size="small" />
|
||||
<span data-slot="tool-approval-decision">{props.display.decision}</span>
|
||||
<Show when={!manual()}>
|
||||
<Show when={props.display.source}>{(text) => <span data-slot="tool-approval-source">{text()}</span>}</Show>
|
||||
|
||||
@@ -1191,6 +1191,11 @@
|
||||
"default": false,
|
||||
"description": "Show tokens-per-second (prompt-processing / text-generation) badges on assistant messages and the task header"
|
||||
},
|
||||
"kilo-code.new.showAutoApprovalReason": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "Show a line on tool calls explaining why they were auto-approved (matched rule, agent default, YOLO mode, etc.)"
|
||||
},
|
||||
"kilo-code.new.chat.shiftTabCyclesVariant": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
|
||||
@@ -186,6 +186,10 @@ import {
|
||||
import { canonicalizePath, projectIdFor, samePath } from "./agent-manager/project/paths"
|
||||
import { validChatSetting, watchChatConfig } from "./kilo-provider/chat-settings"
|
||||
import { buildThroughputSettingMessage, watchThroughputConfig } from "./kilo-provider/throughput-settings"
|
||||
import {
|
||||
buildAutoApprovalReasonSettingMessage,
|
||||
watchAutoApprovalReasonConfig,
|
||||
} from "./kilo-provider/auto-approval-reason-settings"
|
||||
|
||||
let maxCost = 0
|
||||
|
||||
@@ -419,6 +423,7 @@ export class KiloProvider implements vscode.WebviewViewProvider, TelemetryProper
|
||||
private indexingConfigDisposable: vscode.Disposable | null = null
|
||||
private chatConfigDisposable: vscode.Disposable | null = null
|
||||
private throughputConfigDisposable: vscode.Disposable | null = null
|
||||
private autoApprovalReasonConfigDisposable: vscode.Disposable | null = null
|
||||
private telemetryStateDisposable: vscode.Disposable | null = null
|
||||
private viewStateDisposable: vscode.Disposable | null = null
|
||||
private visibilityDisposable: vscode.Disposable | null = null
|
||||
@@ -1002,6 +1007,8 @@ export class KiloProvider implements vscode.WebviewViewProvider, TelemetryProper
|
||||
this.chatConfigDisposable = watchChatConfig((msg) => this.postMessage(msg))
|
||||
this.throughputConfigDisposable?.dispose()
|
||||
this.throughputConfigDisposable = watchThroughputConfig((msg) => this.postMessage(msg))
|
||||
this.autoApprovalReasonConfigDisposable?.dispose()
|
||||
this.autoApprovalReasonConfigDisposable = watchAutoApprovalReasonConfig((msg) => this.postMessage(msg))
|
||||
this.telemetryStateDisposable?.dispose()
|
||||
this.telemetryStateDisposable = watchTelemetryState((msg) => this.postMessage(msg))
|
||||
this.webviewMessageDisposable = webview.onDidReceiveMessage(async (message) => {
|
||||
@@ -1832,6 +1839,7 @@ export class KiloProvider implements vscode.WebviewViewProvider, TelemetryProper
|
||||
this.sendNotificationSettings()
|
||||
this.sendTimelineSetting()
|
||||
this.postMessage(buildThroughputSettingMessage())
|
||||
this.postMessage(buildAutoApprovalReasonSettingMessage())
|
||||
this.postMessage({ type: "extensionDataReady" })
|
||||
|
||||
console.log("[Kilo New] KiloProvider: ✅ initializeConnection completed successfully")
|
||||
@@ -4072,6 +4080,7 @@ export class KiloProvider implements vscode.WebviewViewProvider, TelemetryProper
|
||||
this.sendNotificationSettings()
|
||||
this.sendTimelineSetting()
|
||||
this.postMessage(buildThroughputSettingMessage())
|
||||
this.postMessage(buildAutoApprovalReasonSettingMessage())
|
||||
this.sendWorkStyle()
|
||||
await ModelState.reset(this.client, (msg) => this.postMessage(msg))
|
||||
|
||||
@@ -5001,6 +5010,7 @@ export class KiloProvider implements vscode.WebviewViewProvider, TelemetryProper
|
||||
this.indexingConfigDisposable?.dispose()
|
||||
this.chatConfigDisposable?.dispose()
|
||||
this.throughputConfigDisposable?.dispose()
|
||||
this.autoApprovalReasonConfigDisposable?.dispose()
|
||||
this.telemetryStateDisposable?.dispose()
|
||||
this.autoApproveBridge?.dispose()
|
||||
this.visibleTaskStreams.clear()
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
import * as vscode from "vscode"
|
||||
|
||||
type Post = (msg: unknown) => void
|
||||
|
||||
export function buildAutoApprovalReasonSettingMessage() {
|
||||
const config = vscode.workspace.getConfiguration("kilo-code.new")
|
||||
return {
|
||||
type: "autoApprovalReasonSettingLoaded" as const,
|
||||
visible: config.get<boolean>("showAutoApprovalReason", true),
|
||||
}
|
||||
}
|
||||
|
||||
export function watchAutoApprovalReasonConfig(post: Post): vscode.Disposable {
|
||||
return vscode.workspace.onDidChangeConfiguration((event) => {
|
||||
if (event.affectsConfiguration("kilo-code.new.showAutoApprovalReason")) {
|
||||
post(buildAutoApprovalReasonSettingMessage())
|
||||
}
|
||||
})
|
||||
}
|
||||
@@ -6,6 +6,7 @@ import type { SuggestionContext } from "./handlers/suggestion"
|
||||
import type { KiloClient } from "@kilocode/sdk/v2/client"
|
||||
import { buildChatSettingsMessage } from "./chat-settings"
|
||||
import { buildThroughputSettingMessage } from "./throughput-settings"
|
||||
import { buildAutoApprovalReasonSettingMessage } from "./auto-approval-reason-settings"
|
||||
import { handleModelUsageMessage, type ModelUsageMessage } from "./model-usage"
|
||||
|
||||
type Ctx = {
|
||||
@@ -71,6 +72,10 @@ export async function routeEarlyMessage(
|
||||
ctx.post(buildThroughputSettingMessage())
|
||||
return true
|
||||
}
|
||||
if (message.type === "requestAutoApprovalReasonSetting") {
|
||||
ctx.post(buildAutoApprovalReasonSettingMessage())
|
||||
return true
|
||||
}
|
||||
if (message.type === "requestSpeechToTextModels") {
|
||||
await ctx.speechToTextModels()
|
||||
return true
|
||||
|
||||
@@ -104,6 +104,19 @@ const DisplayTab: Component = () => {
|
||||
</Switch>
|
||||
</SettingsRow>
|
||||
|
||||
<SettingsRow
|
||||
title={language.t("settings.display.autoApprovalReason.title")}
|
||||
description={language.t("settings.display.autoApprovalReason.description")}
|
||||
>
|
||||
<Switch
|
||||
checked={Boolean(settings()["showAutoApprovalReason"] ?? true)}
|
||||
onChange={(checked: boolean) => updateSetting("showAutoApprovalReason", checked)}
|
||||
hideLabel
|
||||
>
|
||||
{language.t("settings.display.autoApprovalReason.title")}
|
||||
</Switch>
|
||||
</SettingsRow>
|
||||
|
||||
<SettingsRow
|
||||
title={language.t("settings.display.terminalCommand.title")}
|
||||
description={language.t("settings.display.terminalCommand.description")}
|
||||
|
||||
@@ -77,6 +77,7 @@ function loadedSettings(message: ExtensionMessage): Record<string, unknown> | un
|
||||
return { "chat.shiftTabCyclesVariant": message.settings.shiftTabCyclesVariant }
|
||||
}
|
||||
if (message.type === "throughputSettingLoaded") return { showTokenThroughput: message.visible }
|
||||
if (message.type === "autoApprovalReasonSettingLoaded") return { showAutoApprovalReason: message.visible }
|
||||
}
|
||||
|
||||
export const ConfigProvider: ParentComponent = (props) => {
|
||||
|
||||
@@ -13,6 +13,7 @@ import { useConfig } from "./config"
|
||||
import { useVSCode } from "./vscode"
|
||||
import type { ExtensionMessage } from "../types/messages"
|
||||
import { applyFontSize, clampFontSize, readFontSize } from "../font-size"
|
||||
import { ToolApprovalVisibilityProvider } from "@kilocode/kilo-ui/message-part"
|
||||
|
||||
interface DisplayContextValue {
|
||||
reasoningAutoCollapse: Accessor<boolean>
|
||||
@@ -23,6 +24,8 @@ interface DisplayContextValue {
|
||||
// every AssistantMessage and the aggregated row in TaskHeader, so flipping
|
||||
// the setting once updates both surfaces without round-trips.
|
||||
throughputVisible: Accessor<boolean>
|
||||
// Whether the "why was this tool call approved" line renders on tool calls.
|
||||
autoApprovalReasonVisible: Accessor<boolean>
|
||||
}
|
||||
|
||||
export const DisplayContext = createContext<DisplayContextValue>()
|
||||
@@ -33,15 +36,20 @@ export const DisplayProvider: ParentComponent = (props) => {
|
||||
const reasoningAutoCollapse = createMemo(() => config().auto_collapse_reasoning ?? false)
|
||||
const [fontSize, setFontSizeSignal] = createSignal(readFontSize())
|
||||
const [throughputVisible, setThroughputVisible] = createSignal(false)
|
||||
const [autoApprovalReasonVisible, setAutoApprovalReasonVisible] = createSignal(true)
|
||||
|
||||
// Request the throughput toggle once on mount; the extension posts back
|
||||
// Request both toggles once on mount; the extension posts back
|
||||
// (and onDidChangeConfiguration forwards subsequent edits).
|
||||
onMount(() => vscode.postMessage({ type: "requestThroughputSetting" }))
|
||||
onMount(() => {
|
||||
vscode.postMessage({ type: "requestThroughputSetting" })
|
||||
vscode.postMessage({ type: "requestAutoApprovalReasonSetting" })
|
||||
})
|
||||
|
||||
const unsubscribe = vscode.onMessage((message: ExtensionMessage) => {
|
||||
if (message.type === "ready" && message.fontSize !== undefined) setFontSizeSignal(clampFontSize(message.fontSize))
|
||||
if (message.type === "fontSizeChanged") setFontSizeSignal(clampFontSize(message.fontSize))
|
||||
if (message.type === "throughputSettingLoaded") setThroughputVisible(Boolean(message.visible))
|
||||
if (message.type === "autoApprovalReasonSettingLoaded") setAutoApprovalReasonVisible(Boolean(message.visible))
|
||||
})
|
||||
|
||||
createEffect(() => {
|
||||
@@ -62,9 +70,13 @@ export const DisplayProvider: ParentComponent = (props) => {
|
||||
vscode.postMessage({ type: "updateSetting", key: "fontSize", value: next })
|
||||
},
|
||||
throughputVisible,
|
||||
autoApprovalReasonVisible,
|
||||
}}
|
||||
>
|
||||
{props.children}
|
||||
{/* Bridges the toggle into kilo-ui's generic gate so every tool render hides the line consistently. */}
|
||||
<ToolApprovalVisibilityProvider value={autoApprovalReasonVisible}>
|
||||
{props.children}
|
||||
</ToolApprovalVisibilityProvider>
|
||||
</DisplayContext.Provider>
|
||||
)
|
||||
}
|
||||
|
||||
+9
-6
@@ -1105,19 +1105,22 @@ export const dict = {
|
||||
"settings.display.shiftTabCycle.title": "تبديل جهد الاستدلال باستخدام Shift+Tab",
|
||||
"settings.display.shiftTabCycle.description":
|
||||
"اضغط على Shift+Tab في حقل إدخال الموجه للتبديل إلى مستوى جهد الاستدلال التالي. عطّل هذا الخيار للاحتفاظ بـ Shift+Tab للتنقل بين عناصر التركيز باستخدام لوحة المفاتيح.",
|
||||
"settings.display.terminalCommand.title": "Terminal Command Blocks",
|
||||
"settings.display.terminalCommand.description": "Choose whether terminal command blocks start expanded or collapsed.",
|
||||
"settings.display.terminalCommand.expanded": "Expanded",
|
||||
"settings.display.terminalCommand.collapsed": "Collapsed",
|
||||
"settings.display.terminalCommand.title": "كتل أوامر الطرفية",
|
||||
"settings.display.terminalCommand.description": "اختر ما إذا كانت كتل أوامر الطرفية تبدأ موسّعة أم مطوية.",
|
||||
"settings.display.terminalCommand.expanded": "موسّعة",
|
||||
"settings.display.terminalCommand.collapsed": "مطوية",
|
||||
"settings.display.codeEdit.title": "كتل تعديلات التعليمات البرمجية",
|
||||
"settings.display.codeEdit.description":
|
||||
"اختر ما إذا كانت الكتل التي تعرض تعديلات التعليمات البرمجية والفروقات تبدأ موسّعة أم مطوية.",
|
||||
"settings.display.codeEdit.expanded": "موسّعة",
|
||||
"settings.display.codeEdit.collapsed": "مطوية",
|
||||
|
||||
"settings.display.tokenThroughput.title": "Show Token Throughput",
|
||||
"settings.display.tokenThroughput.title": "إظهار إنتاجية الرموز",
|
||||
"settings.display.tokenThroughput.description":
|
||||
"Display the text-generation rate (tokens/sec) on the latest assistant message and in the task header. Hidden by default to keep the chat uncluttered.",
|
||||
"عرض معدل توليد النص (رموز/ثانية) على آخر رسالة من المساعد وفي رأس المهمة. مخفي بشكل افتراضي للحفاظ على تنظيم المحادثة.",
|
||||
"settings.display.autoApprovalReason.title": "إظهار سبب الموافقة التلقائية",
|
||||
"settings.display.autoApprovalReason.description":
|
||||
"إظهار سطر عند استدعاءات الأدوات يوضح سبب الموافقة التلقائية عليها (قاعدة مطابقة، إعداد افتراضي للوكيل، وضع YOLO، إلخ).",
|
||||
|
||||
"chat.throughput.tooltip":
|
||||
"Average {{speed}} tokens/s for this turn. Includes output and reasoning tokens; excludes tool execution and waiting time.",
|
||||
|
||||
+10
-6
@@ -1148,19 +1148,23 @@ export const dict = {
|
||||
"settings.display.shiftTabCycle.title": "Alternar o esforço de raciocínio com Shift+Tab",
|
||||
"settings.display.shiftTabCycle.description":
|
||||
"Pressione Shift+Tab em um campo de entrada de prompt para alternar para o próximo nível de esforço de raciocínio. Desative para manter Shift+Tab para navegação de foco pelo teclado.",
|
||||
"settings.display.terminalCommand.title": "Terminal Command Blocks",
|
||||
"settings.display.terminalCommand.description": "Choose whether terminal command blocks start expanded or collapsed.",
|
||||
"settings.display.terminalCommand.expanded": "Expanded",
|
||||
"settings.display.terminalCommand.collapsed": "Collapsed",
|
||||
"settings.display.terminalCommand.title": "Blocos de comando do terminal",
|
||||
"settings.display.terminalCommand.description":
|
||||
"Escolha se os blocos de comando do terminal começam expandidos ou recolhidos.",
|
||||
"settings.display.terminalCommand.expanded": "Expandidos",
|
||||
"settings.display.terminalCommand.collapsed": "Recolhidos",
|
||||
"settings.display.codeEdit.title": "Blocos de edição de código",
|
||||
"settings.display.codeEdit.description":
|
||||
"Escolha se os blocos que exibem edições de código e diferenças começam expandidos ou recolhidos.",
|
||||
"settings.display.codeEdit.expanded": "Expandidos",
|
||||
"settings.display.codeEdit.collapsed": "Recolhidos",
|
||||
|
||||
"settings.display.tokenThroughput.title": "Show Token Throughput",
|
||||
"settings.display.tokenThroughput.title": "Mostrar taxa de tokens",
|
||||
"settings.display.tokenThroughput.description":
|
||||
"Display the text-generation rate (tokens/sec) on the latest assistant message and in the task header. Hidden by default to keep the chat uncluttered.",
|
||||
"Exibe a taxa de geração de texto (tokens/s) na última mensagem do assistente e no cabeçalho da tarefa. Oculto por padrão para manter o chat organizado.",
|
||||
"settings.display.autoApprovalReason.title": "Mostrar motivo da aprovação automática",
|
||||
"settings.display.autoApprovalReason.description":
|
||||
"Mostra uma linha nas chamadas de ferramentas explicando por que foram aprovadas automaticamente (regra correspondente, padrão do agente, modo YOLO, etc.).",
|
||||
|
||||
"chat.throughput.tooltip":
|
||||
"Average {{speed}} tokens/s for this turn. Includes output and reasoning tokens; excludes tool execution and waiting time.",
|
||||
|
||||
+10
-6
@@ -1138,19 +1138,23 @@ export const dict = {
|
||||
"settings.display.shiftTabCycle.title": "Promijeni napor razmišljanja pomoću Shift+Tab",
|
||||
"settings.display.shiftTabCycle.description":
|
||||
"Pritisnite Shift+Tab u polju za unos upita da pređete na sljedeći nivo napora razmišljanja. Onemogućite ovu opciju kako biste zadržali Shift+Tab za navigaciju fokusom putem tastature.",
|
||||
"settings.display.terminalCommand.title": "Terminal Command Blocks",
|
||||
"settings.display.terminalCommand.description": "Choose whether terminal command blocks start expanded or collapsed.",
|
||||
"settings.display.terminalCommand.expanded": "Expanded",
|
||||
"settings.display.terminalCommand.collapsed": "Collapsed",
|
||||
"settings.display.terminalCommand.title": "Blokovi terminalskih naredbi",
|
||||
"settings.display.terminalCommand.description":
|
||||
"Odaberite da li blokovi terminalskih naredbi počinju prošireni ili sažeti.",
|
||||
"settings.display.terminalCommand.expanded": "Prošireni",
|
||||
"settings.display.terminalCommand.collapsed": "Sažeti",
|
||||
"settings.display.codeEdit.title": "Blokovi izmjena koda",
|
||||
"settings.display.codeEdit.description":
|
||||
"Odaberite da li će blokovi koji prikazuju izmjene koda i razlike u početku biti prošireni ili sažeti.",
|
||||
"settings.display.codeEdit.expanded": "Prošireni",
|
||||
"settings.display.codeEdit.collapsed": "Sažeti",
|
||||
|
||||
"settings.display.tokenThroughput.title": "Show Token Throughput",
|
||||
"settings.display.tokenThroughput.title": "Prikaži protok tokena",
|
||||
"settings.display.tokenThroughput.description":
|
||||
"Display the text-generation rate (tokens/sec) on the latest assistant message and in the task header. Hidden by default to keep the chat uncluttered.",
|
||||
"Prikazuje brzinu generisanja teksta (tokena/s) na najnovijoj poruci asistenta i u zaglavlju zadatka. Podrazumevano skriveno radi urednijeg chata.",
|
||||
"settings.display.autoApprovalReason.title": "Prikaži razlog automatskog odobravanja",
|
||||
"settings.display.autoApprovalReason.description":
|
||||
"Prikazuje red uz pozive alata koji objašnjava zašto su automatski odobreni (odgovarajuće pravilo, podrazumevana vrijednost agenta, YOLO režim itd.).",
|
||||
|
||||
"chat.throughput.tooltip":
|
||||
"Average {{speed}} tokens/s for this turn. Includes output and reasoning tokens; excludes tool execution and waiting time.",
|
||||
|
||||
+9
-6
@@ -1134,19 +1134,22 @@ export const dict = {
|
||||
"settings.display.shiftTabCycle.title": "Skift ræsonnementsindsats med Shift+Tab",
|
||||
"settings.display.shiftTabCycle.description":
|
||||
"Tryk på Shift+Tab i et promptindtastningsfelt for at skifte til næste niveau af ræsonnementsindsats. Deaktivér for at beholde Shift+Tab til tastaturnavigation af fokus.",
|
||||
"settings.display.terminalCommand.title": "Terminal Command Blocks",
|
||||
"settings.display.terminalCommand.description": "Choose whether terminal command blocks start expanded or collapsed.",
|
||||
"settings.display.terminalCommand.expanded": "Expanded",
|
||||
"settings.display.terminalCommand.collapsed": "Collapsed",
|
||||
"settings.display.terminalCommand.title": "Terminalkommandoblokke",
|
||||
"settings.display.terminalCommand.description": "Vælg om terminalkommandoblokke starter foldet ud eller sammen.",
|
||||
"settings.display.terminalCommand.expanded": "Foldet ud",
|
||||
"settings.display.terminalCommand.collapsed": "Foldet sammen",
|
||||
"settings.display.codeEdit.title": "Koderedigeringsblokke",
|
||||
"settings.display.codeEdit.description":
|
||||
"Vælg, om blokke, der viser koderedigeringer og forskelle, starter foldet ud eller sammen.",
|
||||
"settings.display.codeEdit.expanded": "Foldet ud",
|
||||
"settings.display.codeEdit.collapsed": "Foldet sammen",
|
||||
|
||||
"settings.display.tokenThroughput.title": "Show Token Throughput",
|
||||
"settings.display.tokenThroughput.title": "Vis genereringshastighed",
|
||||
"settings.display.tokenThroughput.description":
|
||||
"Display the text-generation rate (tokens/sec) on the latest assistant message and in the task header. Hidden by default to keep the chat uncluttered.",
|
||||
"Viser tekstgenereringshastigheden (tokens/sek.) på den seneste assistentmeddelelse og i opgavehovedet. Skjult som standard for at holde chatten ryddig.",
|
||||
"settings.display.autoApprovalReason.title": "Vis grund til automatisk godkendelse",
|
||||
"settings.display.autoApprovalReason.description":
|
||||
"Viser en linje ved værktøjskald, der forklarer, hvorfor de blev automatisk godkendt (matchende regel, agent-standard, YOLO-tilstand osv.).",
|
||||
|
||||
"chat.throughput.tooltip":
|
||||
"Average {{speed}} tokens/s for this turn. Includes output and reasoning tokens; excludes tool execution and waiting time.",
|
||||
|
||||
@@ -1161,19 +1161,23 @@ export const dict = {
|
||||
"settings.display.shiftTabCycle.title": "Reasoning-Aufwand mit Shift+Tab durchlaufen",
|
||||
"settings.display.shiftTabCycle.description":
|
||||
"Drücken Sie Shift+Tab in einem Prompt-Eingabefeld, um zur nächsten Stufe des Reasoning-Aufwands zu wechseln. Deaktivieren Sie dies, um Shift+Tab für die Tastaturfokusnavigation beizubehalten.",
|
||||
"settings.display.terminalCommand.title": "Terminal Command Blocks",
|
||||
"settings.display.terminalCommand.description": "Choose whether terminal command blocks start expanded or collapsed.",
|
||||
"settings.display.terminalCommand.expanded": "Expanded",
|
||||
"settings.display.terminalCommand.collapsed": "Collapsed",
|
||||
"settings.display.terminalCommand.title": "Terminalbefehlsblöcke",
|
||||
"settings.display.terminalCommand.description":
|
||||
"Wählen Sie, ob Terminalbefehlsblöcke anfangs aus- oder eingeklappt sind.",
|
||||
"settings.display.terminalCommand.expanded": "Ausgeklappt",
|
||||
"settings.display.terminalCommand.collapsed": "Eingeklappt",
|
||||
"settings.display.codeEdit.title": "Blöcke für Codebearbeitungen",
|
||||
"settings.display.codeEdit.description":
|
||||
"Wählen Sie, ob Blöcke mit Codebearbeitungen und Unterschieden anfangs aus- oder eingeklappt sind.",
|
||||
"settings.display.codeEdit.expanded": "Ausgeklappt",
|
||||
"settings.display.codeEdit.collapsed": "Eingeklappt",
|
||||
|
||||
"settings.display.tokenThroughput.title": "Show Token Throughput",
|
||||
"settings.display.tokenThroughput.title": "Token-Durchsatz anzeigen",
|
||||
"settings.display.tokenThroughput.description":
|
||||
"Display the text-generation rate (tokens/sec) on the latest assistant message and in the task header. Hidden by default to keep the chat uncluttered.",
|
||||
"Zeigt die Textgenerierungsrate (Tokens/Sek.) in der letzten Assistentennachricht und im Aufgabenkopf an. Standardmäßig ausgeblendet, um den Chat übersichtlich zu halten.",
|
||||
"settings.display.autoApprovalReason.title": "Grund für automatische Genehmigung anzeigen",
|
||||
"settings.display.autoApprovalReason.description":
|
||||
"Zeigt bei Tool-Aufrufen eine Zeile an, die erklärt, warum sie automatisch genehmigt wurden (passende Regel, Agent-Standard, YOLO-Modus usw.).",
|
||||
|
||||
"chat.throughput.tooltip":
|
||||
"Average {{speed}} tokens/s for this turn. Includes output and reasoning tokens; excludes tool execution and waiting time.",
|
||||
|
||||
@@ -1120,6 +1120,9 @@ export const dict = {
|
||||
"settings.display.tokenThroughput.title": "Show Token Throughput",
|
||||
"settings.display.tokenThroughput.description":
|
||||
"Display the text-generation rate (tokens/sec) on the latest assistant message and in the task header. Hidden by default to keep the chat uncluttered.",
|
||||
"settings.display.autoApprovalReason.title": "Show Auto-Approval Reason",
|
||||
"settings.display.autoApprovalReason.description":
|
||||
"Show a line on tool calls explaining why they were auto-approved (matched rule, agent default, YOLO mode, etc.).",
|
||||
|
||||
"chat.throughput.tooltip":
|
||||
"Average {{speed}} tokens/s for this turn. Includes output and reasoning tokens; excludes tool execution and waiting time.",
|
||||
|
||||
+10
-6
@@ -1151,19 +1151,23 @@ export const dict = {
|
||||
"settings.display.shiftTabCycle.title": "Alternar el esfuerzo de razonamiento con Shift+Tab",
|
||||
"settings.display.shiftTabCycle.description":
|
||||
"Pulsa Shift+Tab en un campo de entrada de prompt para cambiar al siguiente nivel de esfuerzo de razonamiento. Desactívalo para conservar Shift+Tab para la navegación del foco con el teclado.",
|
||||
"settings.display.terminalCommand.title": "Terminal Command Blocks",
|
||||
"settings.display.terminalCommand.description": "Choose whether terminal command blocks start expanded or collapsed.",
|
||||
"settings.display.terminalCommand.expanded": "Expanded",
|
||||
"settings.display.terminalCommand.collapsed": "Collapsed",
|
||||
"settings.display.terminalCommand.title": "Bloques de comandos de terminal",
|
||||
"settings.display.terminalCommand.description":
|
||||
"Elige si los bloques de comandos de terminal aparecen inicialmente expandidos o contraídos.",
|
||||
"settings.display.terminalCommand.expanded": "Expandidos",
|
||||
"settings.display.terminalCommand.collapsed": "Contraídos",
|
||||
"settings.display.codeEdit.title": "Bloques de edición de código",
|
||||
"settings.display.codeEdit.description":
|
||||
"Elige si los bloques de edición de código y de diferencias aparecen inicialmente expandidos o contraídos.",
|
||||
"settings.display.codeEdit.expanded": "Expandidos",
|
||||
"settings.display.codeEdit.collapsed": "Contraídos",
|
||||
|
||||
"settings.display.tokenThroughput.title": "Show Token Throughput",
|
||||
"settings.display.tokenThroughput.title": "Mostrar rendimiento de tokens",
|
||||
"settings.display.tokenThroughput.description":
|
||||
"Display the text-generation rate (tokens/sec) on the latest assistant message and in the task header. Hidden by default to keep the chat uncluttered.",
|
||||
"Muestra la tasa de generación de texto (tokens/s) en el último mensaje del asistente y en el encabezado de la tarea. Oculto de forma predeterminada para mantener el chat ordenado.",
|
||||
"settings.display.autoApprovalReason.title": "Mostrar motivo de aprobación automática",
|
||||
"settings.display.autoApprovalReason.description":
|
||||
"Muestra una línea en las llamadas a herramientas que explica por qué se aprobaron automáticamente (regla coincidente, valor predeterminado del agente, modo YOLO, etc.).",
|
||||
|
||||
"chat.throughput.tooltip":
|
||||
"Average {{speed}} tokens/s for this turn. Includes output and reasoning tokens; excludes tool execution and waiting time.",
|
||||
|
||||
+3
@@ -1133,6 +1133,9 @@ export const dict = {
|
||||
"settings.display.tokenThroughput.title": "نمایش توان عملیاتی توکن",
|
||||
"settings.display.tokenThroughput.description":
|
||||
"نرخ تولید متن (توکن/ثانیه) را در آخرین پیام دستیار و در سربرگ وظیفه نمایش میدهد. بهطور پیشفرض پنهان است تا چت شلوغ نشود.",
|
||||
"settings.display.autoApprovalReason.title": "نمایش دلیل تأیید خودکار",
|
||||
"settings.display.autoApprovalReason.description":
|
||||
"نمایش خطی در فراخوانی ابزارها که توضیح میدهد چرا بهطور خودکار تأیید شدهاند (قانون مطابق، پیشفرض عامل، حالت YOLO و غیره).",
|
||||
|
||||
"chat.throughput.tooltip":
|
||||
"میانگین {{speed}} توکن/ثانیه برای این نوبت. شامل توکنهای خروجی و استدلال میشود؛ زمان اجرای ابزار و انتظار را شامل نمیشود.",
|
||||
|
||||
+10
-6
@@ -1168,19 +1168,23 @@ export const dict = {
|
||||
"settings.display.shiftTabCycle.title": "Parcourir l'effort de raisonnement avec Shift+Tab",
|
||||
"settings.display.shiftTabCycle.description":
|
||||
"Appuyez sur Shift+Tab dans un champ de saisie de prompt pour passer au niveau d'effort de raisonnement suivant. Désactivez cette option pour conserver Shift+Tab pour la navigation du focus au clavier.",
|
||||
"settings.display.terminalCommand.title": "Terminal Command Blocks",
|
||||
"settings.display.terminalCommand.description": "Choose whether terminal command blocks start expanded or collapsed.",
|
||||
"settings.display.terminalCommand.expanded": "Expanded",
|
||||
"settings.display.terminalCommand.collapsed": "Collapsed",
|
||||
"settings.display.terminalCommand.title": "Blocs de commande de terminal",
|
||||
"settings.display.terminalCommand.description":
|
||||
"Choisissez si les blocs de commande de terminal sont initialement développés ou réduits.",
|
||||
"settings.display.terminalCommand.expanded": "Développés",
|
||||
"settings.display.terminalCommand.collapsed": "Réduits",
|
||||
"settings.display.codeEdit.title": "Blocs de modification du code",
|
||||
"settings.display.codeEdit.description":
|
||||
"Choisissez si les blocs de modification du code et de différences sont initialement développés ou réduits.",
|
||||
"settings.display.codeEdit.expanded": "Développés",
|
||||
"settings.display.codeEdit.collapsed": "Réduits",
|
||||
|
||||
"settings.display.tokenThroughput.title": "Show Token Throughput",
|
||||
"settings.display.tokenThroughput.title": "Afficher le débit de tokens",
|
||||
"settings.display.tokenThroughput.description":
|
||||
"Display the text-generation rate (tokens/sec) on the latest assistant message and in the task header. Hidden by default to keep the chat uncluttered.",
|
||||
"Affiche le taux de génération de texte (tokens/s) sur le dernier message de l'assistant et dans l'en-tête de la tâche. Masqué par défaut pour garder le chat épuré.",
|
||||
"settings.display.autoApprovalReason.title": "Afficher la raison de l'approbation automatique",
|
||||
"settings.display.autoApprovalReason.description":
|
||||
"Affiche une ligne sur les appels d'outils expliquant pourquoi ils ont été approuvés automatiquement (règle correspondante, agent par défaut, mode YOLO, etc.).",
|
||||
|
||||
"chat.throughput.tooltip":
|
||||
"Average {{speed}} tokens/s for this turn. Includes output and reasoning tokens; excludes tool execution and waiting time.",
|
||||
|
||||
+5
-2
@@ -1004,9 +1004,12 @@ export const dict = {
|
||||
"settings.display.codeEdit.expanded": "Espansi",
|
||||
"settings.display.codeEdit.collapsed": "Compressi",
|
||||
|
||||
"settings.display.tokenThroughput.title": "Show Token Throughput",
|
||||
"settings.display.tokenThroughput.title": "Mostra velocità di generazione dei token",
|
||||
"settings.display.tokenThroughput.description":
|
||||
"Display the text-generation rate (tokens/sec) on the latest assistant message and in the task header. Hidden by default to keep the chat uncluttered.",
|
||||
"Mostra la velocità di generazione del testo (token/sec) sull'ultimo messaggio dell'assistente e nell'intestazione dell'attività. Nascosto per impostazione predefinita per mantenere la chat ordinata.",
|
||||
"settings.display.autoApprovalReason.title": "Mostra motivo dell'approvazione automatica",
|
||||
"settings.display.autoApprovalReason.description":
|
||||
"Mostra una riga sulle chiamate agli strumenti che spiega perché sono state approvate automaticamente (regola corrispondente, predefinito dell'agente, modalità YOLO, ecc.).",
|
||||
|
||||
"chat.throughput.tooltip":
|
||||
"Average {{speed}} tokens/s for this turn. Includes output and reasoning tokens; excludes tool execution and waiting time.",
|
||||
|
||||
+10
-6
@@ -1126,19 +1126,23 @@ export const dict = {
|
||||
"settings.display.shiftTabCycle.title": "Shift+Tab で推論の強度を切り替える",
|
||||
"settings.display.shiftTabCycle.description":
|
||||
"プロンプト入力欄で Shift+Tab を押すと、次の推論の強度レベルに切り替わります。Shift+Tab をキーボードフォーカスの移動に使用する場合は、無効にしてください。",
|
||||
"settings.display.terminalCommand.title": "Terminal Command Blocks",
|
||||
"settings.display.terminalCommand.description": "Choose whether terminal command blocks start expanded or collapsed.",
|
||||
"settings.display.terminalCommand.expanded": "Expanded",
|
||||
"settings.display.terminalCommand.collapsed": "Collapsed",
|
||||
"settings.display.terminalCommand.title": "ターミナルコマンドブロック",
|
||||
"settings.display.terminalCommand.description":
|
||||
"ターミナルコマンドブロックを最初から展開するか折りたたむかを選択します。",
|
||||
"settings.display.terminalCommand.expanded": "展開",
|
||||
"settings.display.terminalCommand.collapsed": "折りたたみ",
|
||||
"settings.display.codeEdit.title": "コード編集ブロック",
|
||||
"settings.display.codeEdit.description":
|
||||
"コード編集ブロックと差分ブロックを最初から展開するか折りたたむかを選択します。",
|
||||
"settings.display.codeEdit.expanded": "展開",
|
||||
"settings.display.codeEdit.collapsed": "折りたたみ",
|
||||
|
||||
"settings.display.tokenThroughput.title": "Show Token Throughput",
|
||||
"settings.display.tokenThroughput.title": "トークンスループットを表示",
|
||||
"settings.display.tokenThroughput.description":
|
||||
"Display the text-generation rate (tokens/sec) on the latest assistant message and in the task header. Hidden by default to keep the chat uncluttered.",
|
||||
"最新のアシスタントメッセージとタスクヘッダーにテキスト生成速度(トークン/秒)を表示します。チャットを整理するためデフォルトでは非表示です。",
|
||||
"settings.display.autoApprovalReason.title": "自動承認の理由を表示",
|
||||
"settings.display.autoApprovalReason.description":
|
||||
"ツール呼び出しが自動承認された理由(一致したルール、エージェントのデフォルト、YOLOモードなど)を示す行を表示します。",
|
||||
|
||||
"chat.throughput.tooltip":
|
||||
"Average {{speed}} tokens/s for this turn. Includes output and reasoning tokens; excludes tool execution and waiting time.",
|
||||
|
||||
+9
-6
@@ -1115,18 +1115,21 @@ export const dict = {
|
||||
"settings.display.shiftTabCycle.title": "Shift+Tab으로 추론 강도 전환",
|
||||
"settings.display.shiftTabCycle.description":
|
||||
"프롬프트 입력란에서 Shift+Tab을 눌러 다음 추론 강도 수준으로 전환합니다. Shift+Tab을 키보드 포커스 탐색에 사용하려면 비활성화하세요.",
|
||||
"settings.display.terminalCommand.title": "Terminal Command Blocks",
|
||||
"settings.display.terminalCommand.description": "Choose whether terminal command blocks start expanded or collapsed.",
|
||||
"settings.display.terminalCommand.expanded": "Expanded",
|
||||
"settings.display.terminalCommand.collapsed": "Collapsed",
|
||||
"settings.display.terminalCommand.title": "터미널 명령 블록",
|
||||
"settings.display.terminalCommand.description": "터미널 명령 블록을 처음부터 펼칠지 접을지 선택합니다.",
|
||||
"settings.display.terminalCommand.expanded": "펼침",
|
||||
"settings.display.terminalCommand.collapsed": "접힘",
|
||||
"settings.display.codeEdit.title": "코드 편집 블록",
|
||||
"settings.display.codeEdit.description": "코드 편집 블록과 차이점 블록을 처음부터 펼칠지 접을지 선택합니다.",
|
||||
"settings.display.codeEdit.expanded": "펼침",
|
||||
"settings.display.codeEdit.collapsed": "접힘",
|
||||
|
||||
"settings.display.tokenThroughput.title": "Show Token Throughput",
|
||||
"settings.display.tokenThroughput.title": "토큰 처리량 표시",
|
||||
"settings.display.tokenThroughput.description":
|
||||
"Display the text-generation rate (tokens/sec) on the latest assistant message and in the task header. Hidden by default to keep the chat uncluttered.",
|
||||
"최신 어시스턴트 메시지와 작업 헤더에 텍스트 생성 속도(토큰/초)를 표시합니다. 채팅을 깔끔하게 유지하기 위해 기본적으로 숨겨져 있습니다.",
|
||||
"settings.display.autoApprovalReason.title": "자동 승인 이유 표시",
|
||||
"settings.display.autoApprovalReason.description":
|
||||
"도구 호출이 자동으로 승인된 이유(일치한 규칙, 에이전트 기본값, YOLO 모드 등)를 설명하는 줄을 표시합니다.",
|
||||
|
||||
"chat.throughput.tooltip":
|
||||
"Average {{speed}} tokens/s for this turn. Includes output and reasoning tokens; excludes tool execution and waiting time.",
|
||||
|
||||
+10
-6
@@ -1108,19 +1108,23 @@ export const dict = {
|
||||
"settings.display.shiftTabCycle.title": "Doorloop niveaus van redeneringsinspanning met Shift+Tab",
|
||||
"settings.display.shiftTabCycle.description":
|
||||
"Druk op Shift+Tab in een promptinvoerveld om naar het volgende niveau van redeneringsinspanning te gaan. Schakel dit uit om Shift+Tab te behouden voor focusnavigatie via het toetsenbord.",
|
||||
"settings.display.terminalCommand.title": "Terminal Command Blocks",
|
||||
"settings.display.terminalCommand.description": "Choose whether terminal command blocks start expanded or collapsed.",
|
||||
"settings.display.terminalCommand.expanded": "Expanded",
|
||||
"settings.display.terminalCommand.collapsed": "Collapsed",
|
||||
"settings.display.terminalCommand.title": "Terminalopdrachtblokken",
|
||||
"settings.display.terminalCommand.description":
|
||||
"Kies of terminalopdrachtblokken standaard uitgeklapt of ingeklapt zijn.",
|
||||
"settings.display.terminalCommand.expanded": "Uitgeklapt",
|
||||
"settings.display.terminalCommand.collapsed": "Ingeklapt",
|
||||
"settings.display.codeEdit.title": "Blokken met codebewerkingen",
|
||||
"settings.display.codeEdit.description":
|
||||
"Kies of blokken met codebewerkingen en verschillen standaard uitgeklapt of ingeklapt zijn.",
|
||||
"settings.display.codeEdit.expanded": "Uitgeklapt",
|
||||
"settings.display.codeEdit.collapsed": "Ingeklapt",
|
||||
|
||||
"settings.display.tokenThroughput.title": "Show Token Throughput",
|
||||
"settings.display.tokenThroughput.title": "Tokendoorvoer weergeven",
|
||||
"settings.display.tokenThroughput.description":
|
||||
"Display the text-generation rate (tokens/sec) on the latest assistant message and in the task header. Hidden by default to keep the chat uncluttered.",
|
||||
"Toont de tekstgeneratiesnelheid (tokens/sec) bij het laatste assistentbericht en in de taakkop. Standaard verborgen om de chat overzichtelijk te houden.",
|
||||
"settings.display.autoApprovalReason.title": "Reden voor automatische goedkeuring weergeven",
|
||||
"settings.display.autoApprovalReason.description":
|
||||
"Toont een regel bij tool-aanroepen die uitlegt waarom ze automatisch zijn goedgekeurd (overeenkomende regel, agentstandaard, YOLO-modus, enz.).",
|
||||
|
||||
"chat.throughput.tooltip":
|
||||
"Average {{speed}} tokens/s for this turn. Includes output and reasoning tokens; excludes tool execution and waiting time.",
|
||||
|
||||
+8
-4
@@ -1132,10 +1132,11 @@ export const dict = {
|
||||
"settings.display.shiftTabCycle.title": "Bytt resonnementsinnsats med Shift+Tab",
|
||||
"settings.display.shiftTabCycle.description":
|
||||
"Trykk Shift+Tab i et promptinndatafelt for å bytte til neste nivå for resonnementsinnsats. Deaktiver for å beholde Shift+Tab for tastaturnavigering av fokus.",
|
||||
"settings.display.terminalCommand.title": "Terminal Command Blocks",
|
||||
"settings.display.terminalCommand.description": "Choose whether terminal command blocks start expanded or collapsed.",
|
||||
"settings.display.terminalCommand.expanded": "Expanded",
|
||||
"settings.display.terminalCommand.collapsed": "Collapsed",
|
||||
"settings.display.terminalCommand.title": "Blokker for terminalkommandoer",
|
||||
"settings.display.terminalCommand.description":
|
||||
"Velg om blokker for terminalkommandoer skal være utvidet eller skjult fra start.",
|
||||
"settings.display.terminalCommand.expanded": "Utvidet",
|
||||
"settings.display.terminalCommand.collapsed": "Skjult",
|
||||
"settings.display.codeEdit.title": "Blokker for kodeendringer",
|
||||
"settings.display.codeEdit.description":
|
||||
"Velg om blokker for kodeendringer og forskjeller skal være utvidet eller skjult fra start.",
|
||||
@@ -1145,6 +1146,9 @@ export const dict = {
|
||||
"settings.display.tokenThroughput.title": "Vis genereringshastighet",
|
||||
"settings.display.tokenThroughput.description":
|
||||
"Vis tekstgenereringshastighet (tokens/sek) på den siste assistentmeldingen og i oppgaveoverskriften. Skjult som standard for å holde chatten ryddig.",
|
||||
"settings.display.autoApprovalReason.title": "Vis årsak til automatisk godkjenning",
|
||||
"settings.display.autoApprovalReason.description":
|
||||
"Viser en linje ved verktøykall som forklarer hvorfor de ble automatisk godkjent (samsvarende regel, agentstandard, YOLO-modus osv.).",
|
||||
|
||||
"chat.throughput.tooltip":
|
||||
"Average {{speed}} tokens/s for this turn. Includes output and reasoning tokens; excludes tool execution and waiting time.",
|
||||
|
||||
+10
-6
@@ -1139,19 +1139,23 @@ export const dict = {
|
||||
"settings.display.shiftTabCycle.title": "Przełączaj wysiłek rozumowania za pomocą Shift+Tab",
|
||||
"settings.display.shiftTabCycle.description":
|
||||
"Naciśnij Shift+Tab w polu wprowadzania promptu, aby przełączyć się na następny poziom wysiłku rozumowania. Wyłącz tę opcję, aby zachować Shift+Tab do nawigacji fokusem za pomocą klawiatury.",
|
||||
"settings.display.terminalCommand.title": "Terminal Command Blocks",
|
||||
"settings.display.terminalCommand.description": "Choose whether terminal command blocks start expanded or collapsed.",
|
||||
"settings.display.terminalCommand.expanded": "Expanded",
|
||||
"settings.display.terminalCommand.collapsed": "Collapsed",
|
||||
"settings.display.terminalCommand.title": "Bloki poleceń terminala",
|
||||
"settings.display.terminalCommand.description":
|
||||
"Wybierz, czy bloki poleceń terminala mają być początkowo rozwinięte czy zwinięte.",
|
||||
"settings.display.terminalCommand.expanded": "Rozwinięte",
|
||||
"settings.display.terminalCommand.collapsed": "Zwinięte",
|
||||
"settings.display.codeEdit.title": "Bloki edycji kodu",
|
||||
"settings.display.codeEdit.description":
|
||||
"Wybierz, czy bloki edycji kodu i podglądy różnic mają być początkowo rozwinięte czy zwinięte.",
|
||||
"settings.display.codeEdit.expanded": "Rozwinięte",
|
||||
"settings.display.codeEdit.collapsed": "Zwinięte",
|
||||
|
||||
"settings.display.tokenThroughput.title": "Show Token Throughput",
|
||||
"settings.display.tokenThroughput.title": "Pokaż przepustowość tokenów",
|
||||
"settings.display.tokenThroughput.description":
|
||||
"Display the text-generation rate (tokens/sec) on the latest assistant message and in the task header. Hidden by default to keep the chat uncluttered.",
|
||||
"Wyświetla szybkość generowania tekstu (tokeny/s) w ostatniej wiadomości asystenta i w nagłówku zadania. Domyślnie skryte, aby czat był przejrzysty.",
|
||||
"settings.display.autoApprovalReason.title": "Pokaż powód automatycznego zatwierdzenia",
|
||||
"settings.display.autoApprovalReason.description":
|
||||
"Pokazuje wiersz przy wywołaniach narzędzi wyjaśniający, dlaczego zostały automatycznie zatwierdzone (dopasowana reguła, wartość domyślna agenta, tryb YOLO itp.).",
|
||||
|
||||
"chat.throughput.tooltip":
|
||||
"Average {{speed}} tokens/s for this turn. Includes output and reasoning tokens; excludes tool execution and waiting time.",
|
||||
|
||||
+10
-6
@@ -1133,19 +1133,23 @@ export const dict = {
|
||||
"settings.display.shiftTabCycle.title": "Переключать усилие рассуждения с помощью Shift+Tab",
|
||||
"settings.display.shiftTabCycle.description":
|
||||
"Нажмите Shift+Tab в поле ввода запроса, чтобы перейти к следующему уровню усилий рассуждения. Отключите эту настройку, чтобы сохранить Shift+Tab для навигации по фокусу с помощью клавиатуры.",
|
||||
"settings.display.terminalCommand.title": "Terminal Command Blocks",
|
||||
"settings.display.terminalCommand.description": "Choose whether terminal command blocks start expanded or collapsed.",
|
||||
"settings.display.terminalCommand.expanded": "Expanded",
|
||||
"settings.display.terminalCommand.collapsed": "Collapsed",
|
||||
"settings.display.terminalCommand.title": "Блоки команд терминала",
|
||||
"settings.display.terminalCommand.description":
|
||||
"Выберите, будут ли блоки команд терминала изначально развёрнуты или свёрнуты.",
|
||||
"settings.display.terminalCommand.expanded": "Развёрнуты",
|
||||
"settings.display.terminalCommand.collapsed": "Свёрнуты",
|
||||
"settings.display.codeEdit.title": "Блоки изменений кода",
|
||||
"settings.display.codeEdit.description":
|
||||
"Выберите, будут ли блоки изменений кода и различий изначально развёрнуты или свёрнуты.",
|
||||
"settings.display.codeEdit.expanded": "Развёрнуты",
|
||||
"settings.display.codeEdit.collapsed": "Свёрнуты",
|
||||
|
||||
"settings.display.tokenThroughput.title": "Show Token Throughput",
|
||||
"settings.display.tokenThroughput.title": "Показывать пропускную способность токенов",
|
||||
"settings.display.tokenThroughput.description":
|
||||
"Display the text-generation rate (tokens/sec) on the latest assistant message and in the task header. Hidden by default to keep the chat uncluttered.",
|
||||
"Отображает скорость генерации текста (токенов/с) в последнем сообщении ассистента и в заголовке задачи. По умолчанию скрыто, чтобы не загромождать чат.",
|
||||
"settings.display.autoApprovalReason.title": "Показывать причину автоодобрения",
|
||||
"settings.display.autoApprovalReason.description":
|
||||
"Показывает строку у вызовов инструментов, объясняющую, почему они были одобрены автоматически (совпавшее правило, значение агента по умолчанию, режим YOLO и т. д.).",
|
||||
|
||||
"chat.throughput.tooltip":
|
||||
"Average {{speed}} tokens/s for this turn. Includes output and reasoning tokens; excludes tool execution and waiting time.",
|
||||
|
||||
+9
-6
@@ -1113,18 +1113,21 @@ export const dict = {
|
||||
"settings.display.shiftTabCycle.title": "สลับระดับความพยายามในการให้เหตุผลด้วย Shift+Tab",
|
||||
"settings.display.shiftTabCycle.description":
|
||||
"กด Shift+Tab ในช่องป้อนพรอมต์เพื่อสลับไปยังระดับความพยายามในการให้เหตุผลถัดไป ปิดใช้งานเพื่อคง Shift+Tab ไว้สำหรับการนำทางโฟกัสด้วยแป้นพิมพ์",
|
||||
"settings.display.terminalCommand.title": "Terminal Command Blocks",
|
||||
"settings.display.terminalCommand.description": "Choose whether terminal command blocks start expanded or collapsed.",
|
||||
"settings.display.terminalCommand.expanded": "Expanded",
|
||||
"settings.display.terminalCommand.collapsed": "Collapsed",
|
||||
"settings.display.terminalCommand.title": "บล็อกคำสั่งเทอร์มินัล",
|
||||
"settings.display.terminalCommand.description": "เลือกว่าบล็อกคำสั่งเทอร์มินัลจะเริ่มต้นแบบขยายหรือยุบ",
|
||||
"settings.display.terminalCommand.expanded": "ขยาย",
|
||||
"settings.display.terminalCommand.collapsed": "ยุบ",
|
||||
"settings.display.codeEdit.title": "บล็อกการแก้ไขโค้ด",
|
||||
"settings.display.codeEdit.description": "เลือกว่าบล็อกการแก้ไขโค้ดและบล็อกแสดงความแตกต่างจะเริ่มต้นแบบขยายหรือยุบ",
|
||||
"settings.display.codeEdit.expanded": "ขยาย",
|
||||
"settings.display.codeEdit.collapsed": "ยุบ",
|
||||
|
||||
"settings.display.tokenThroughput.title": "Show Token Throughput",
|
||||
"settings.display.tokenThroughput.title": "แสดงอัตราการประมวลผลโทเคน",
|
||||
"settings.display.tokenThroughput.description":
|
||||
"Display the text-generation rate (tokens/sec) on the latest assistant message and in the task header. Hidden by default to keep the chat uncluttered.",
|
||||
"แสดงอัตราการสร้างข้อความ (โทเคน/วินาที) บนข้อความล่าสุดของผู้ช่วยและในส่วนหัวของงาน ซ่อนโดยค่าเริ่มต้นเพื่อให้แชทดูเรียบร้อย",
|
||||
"settings.display.autoApprovalReason.title": "แสดงเหตุผลการอนุมัติอัตโนมัติ",
|
||||
"settings.display.autoApprovalReason.description":
|
||||
"แสดงบรรทัดในการเรียกใช้เครื่องมือเพื่ออธิบายว่าเหตุใดจึงได้รับการอนุมัติอัตโนมัติ (กฎที่ตรงกัน ค่าเริ่มต้นของเอเจนต์ โหมด YOLO ฯลฯ)",
|
||||
|
||||
"chat.throughput.tooltip":
|
||||
"Average {{speed}} tokens/s for this turn. Includes output and reasoning tokens; excludes tool execution and waiting time.",
|
||||
|
||||
+10
-6
@@ -1094,19 +1094,23 @@ export const dict = {
|
||||
"settings.display.shiftTabCycle.title": "Shift+Tab ile akıl yürütme eforunu değiştir",
|
||||
"settings.display.shiftTabCycle.description":
|
||||
"Bir sonraki akıl yürütme eforu seviyesine geçmek için komut girişinde Shift+Tab tuşlarına basın. Shift+Tab tuşunu klavye odağında gezinmek için korumak üzere devre dışı bırakın.",
|
||||
"settings.display.terminalCommand.title": "Terminal Command Blocks",
|
||||
"settings.display.terminalCommand.description": "Choose whether terminal command blocks start expanded or collapsed.",
|
||||
"settings.display.terminalCommand.expanded": "Expanded",
|
||||
"settings.display.terminalCommand.collapsed": "Collapsed",
|
||||
"settings.display.terminalCommand.title": "Terminal Komut Blokları",
|
||||
"settings.display.terminalCommand.description":
|
||||
"Terminal komut bloklarının başlangıçta genişletilmiş mi yoksa daraltılmış mı olacağını seçin.",
|
||||
"settings.display.terminalCommand.expanded": "Genişletilmiş",
|
||||
"settings.display.terminalCommand.collapsed": "Daraltılmış",
|
||||
"settings.display.codeEdit.title": "Kod Düzenleme Blokları",
|
||||
"settings.display.codeEdit.description":
|
||||
"Kod düzenleme ve fark bloklarının başlangıçta genişletilmiş mi yoksa daraltılmış mı olacağını seçin.",
|
||||
"settings.display.codeEdit.expanded": "Genişletilmiş",
|
||||
"settings.display.codeEdit.collapsed": "Daraltılmış",
|
||||
|
||||
"settings.display.tokenThroughput.title": "Show Token Throughput",
|
||||
"settings.display.tokenThroughput.title": "Token İşleme Hızını Göster",
|
||||
"settings.display.tokenThroughput.description":
|
||||
"Display the text-generation rate (tokens/sec) on the latest assistant message and in the task header. Hidden by default to keep the chat uncluttered.",
|
||||
"En son asistan mesajında ve görev başlığında metin üretim hızını (token/sn) gösterir. Sohbeti dağınık göstermemek için varsayılan olarak gizlidir.",
|
||||
"settings.display.autoApprovalReason.title": "Otomatik Onay Nedenini Göster",
|
||||
"settings.display.autoApprovalReason.description":
|
||||
"Araç çağrılarının neden otomatik olarak onaylandığını açıklayan bir satır gösterir (eşleşen kural, aracı varsayılanı, YOLO modu vb.).",
|
||||
|
||||
"chat.throughput.tooltip":
|
||||
"Average {{speed}} tokens/s for this turn. Includes output and reasoning tokens; excludes tool execution and waiting time.",
|
||||
|
||||
+10
-6
@@ -1094,19 +1094,23 @@ export const dict = {
|
||||
"settings.display.shiftTabCycle.title": "Перемикати зусилля міркування за допомогою Shift+Tab",
|
||||
"settings.display.shiftTabCycle.description":
|
||||
"Натисніть Shift+Tab у полі введення запиту, щоб перейти до наступного рівня зусиль міркування. Вимкніть цю опцію, щоб зберегти Shift+Tab для навігації фокусом за допомогою клавіатури.",
|
||||
"settings.display.terminalCommand.title": "Terminal Command Blocks",
|
||||
"settings.display.terminalCommand.description": "Choose whether terminal command blocks start expanded or collapsed.",
|
||||
"settings.display.terminalCommand.expanded": "Expanded",
|
||||
"settings.display.terminalCommand.collapsed": "Collapsed",
|
||||
"settings.display.terminalCommand.title": "Блоки команд термінала",
|
||||
"settings.display.terminalCommand.description":
|
||||
"Виберіть, чи будуть блоки команд термінала спочатку розгорнутими чи згорнутими.",
|
||||
"settings.display.terminalCommand.expanded": "Розгорнуті",
|
||||
"settings.display.terminalCommand.collapsed": "Згорнуті",
|
||||
"settings.display.codeEdit.title": "Блоки редагування коду",
|
||||
"settings.display.codeEdit.description":
|
||||
"Виберіть, чи будуть блоки редагування коду та відмінностей спочатку розгорнутими чи згорнутими.",
|
||||
"settings.display.codeEdit.expanded": "Розгорнуті",
|
||||
"settings.display.codeEdit.collapsed": "Згорнуті",
|
||||
|
||||
"settings.display.tokenThroughput.title": "Show Token Throughput",
|
||||
"settings.display.tokenThroughput.title": "Показувати пропускну здатність токенів",
|
||||
"settings.display.tokenThroughput.description":
|
||||
"Display the text-generation rate (tokens/sec) on the latest assistant message and in the task header. Hidden by default to keep the chat uncluttered.",
|
||||
"Показує швидкість генерації тексту (токенів/с) на останньому повідомленні асистента та в заголовку завдання. За замовчуванням приховано, щоб чат залишався охайним.",
|
||||
"settings.display.autoApprovalReason.title": "Показувати причину автосхвалення",
|
||||
"settings.display.autoApprovalReason.description":
|
||||
"Показує рядок біля викликів інструментів, що пояснює, чому їх автоматично схвалено (відповідне правило, стандартне значення агента, режим YOLO тощо).",
|
||||
|
||||
"chat.throughput.tooltip":
|
||||
"Average {{speed}} tokens/s for this turn. Includes output and reasoning tokens; excludes tool execution and waiting time.",
|
||||
|
||||
+9
-6
@@ -1073,18 +1073,21 @@ export const dict = {
|
||||
"settings.display.shiftTabCycle.title": "使用 Shift+Tab 切换推理强度",
|
||||
"settings.display.shiftTabCycle.description":
|
||||
"在提示输入框中按 Shift+Tab 可切换到下一个推理强度等级。禁用此选项可将 Shift+Tab 用于键盘焦点导航。",
|
||||
"settings.display.terminalCommand.title": "Terminal Command Blocks",
|
||||
"settings.display.terminalCommand.description": "Choose whether terminal command blocks start expanded or collapsed.",
|
||||
"settings.display.terminalCommand.expanded": "Expanded",
|
||||
"settings.display.terminalCommand.collapsed": "Collapsed",
|
||||
"settings.display.terminalCommand.title": "终端命令块",
|
||||
"settings.display.terminalCommand.description": "选择终端命令块的初始状态:展开或折叠。",
|
||||
"settings.display.terminalCommand.expanded": "展开",
|
||||
"settings.display.terminalCommand.collapsed": "折叠",
|
||||
"settings.display.codeEdit.title": "代码编辑块",
|
||||
"settings.display.codeEdit.description": "选择代码编辑块和差异块的初始状态:展开或折叠。",
|
||||
"settings.display.codeEdit.expanded": "展开",
|
||||
"settings.display.codeEdit.collapsed": "折叠",
|
||||
|
||||
"settings.display.tokenThroughput.title": "Show Token Throughput",
|
||||
"settings.display.tokenThroughput.title": "显示令牌吞吐量",
|
||||
"settings.display.tokenThroughput.description":
|
||||
"Display the text-generation rate (tokens/sec) on the latest assistant message and in the task header. Hidden by default to keep the chat uncluttered.",
|
||||
"在最新的助手消息和任务标题中显示文本生成速率(令牌/秒)。默认隐藏以保持聊天简洁。",
|
||||
"settings.display.autoApprovalReason.title": "显示自动批准原因",
|
||||
"settings.display.autoApprovalReason.description":
|
||||
"在工具调用中显示一行说明其被自动批准的原因(匹配的规则、代理默认值、YOLO 模式等)。",
|
||||
|
||||
"chat.throughput.tooltip":
|
||||
"Average {{speed}} tokens/s for this turn. Includes output and reasoning tokens; excludes tool execution and waiting time.",
|
||||
|
||||
+9
-6
@@ -1036,18 +1036,21 @@ export const dict = {
|
||||
"settings.display.shiftTabCycle.title": "使用 Shift+Tab 切換推理強度",
|
||||
"settings.display.shiftTabCycle.description":
|
||||
"在提示輸入框中按 Shift+Tab 可切換至下一個推理強度等級。停用此選項可保留 Shift+Tab 用於鍵盤焦點導覽。",
|
||||
"settings.display.terminalCommand.title": "Terminal Command Blocks",
|
||||
"settings.display.terminalCommand.description": "Choose whether terminal command blocks start expanded or collapsed.",
|
||||
"settings.display.terminalCommand.expanded": "Expanded",
|
||||
"settings.display.terminalCommand.collapsed": "Collapsed",
|
||||
"settings.display.terminalCommand.title": "終端命令區塊",
|
||||
"settings.display.terminalCommand.description": "選擇終端命令區塊的初始狀態:展開或收合。",
|
||||
"settings.display.terminalCommand.expanded": "展開",
|
||||
"settings.display.terminalCommand.collapsed": "收合",
|
||||
"settings.display.codeEdit.title": "程式碼編輯區塊",
|
||||
"settings.display.codeEdit.description": "選擇程式碼編輯區塊與差異區塊的初始狀態:展開或收合。",
|
||||
"settings.display.codeEdit.expanded": "展開",
|
||||
"settings.display.codeEdit.collapsed": "收合",
|
||||
|
||||
"settings.display.tokenThroughput.title": "Show Token Throughput",
|
||||
"settings.display.tokenThroughput.title": "顯示權杖吞吐量",
|
||||
"settings.display.tokenThroughput.description":
|
||||
"Display the text-generation rate (tokens/sec) on the latest assistant message and in the task header. Hidden by default to keep the chat uncluttered.",
|
||||
"在最新的助理訊息與工作標題中顯示文字生成速率(權杖/秒)。預設隱藏,以保持對話簡潔。",
|
||||
"settings.display.autoApprovalReason.title": "顯示自動核准原因",
|
||||
"settings.display.autoApprovalReason.description":
|
||||
"在工具呼叫中顯示一行說明其被自動核准的原因(符合的規則、代理預設值、YOLO 模式等)。",
|
||||
|
||||
"chat.throughput.tooltip":
|
||||
"Average {{speed}} tokens/s for this turn. Includes output and reasoning tokens; excludes tool execution and waiting time.",
|
||||
|
||||
@@ -660,6 +660,11 @@ export interface ThroughputSettingLoadedMessage {
|
||||
visible: boolean
|
||||
}
|
||||
|
||||
export interface AutoApprovalReasonSettingLoadedMessage {
|
||||
type: "autoApprovalReasonSettingLoaded"
|
||||
visible: boolean
|
||||
}
|
||||
|
||||
export interface WorkStyleLoadedMessage {
|
||||
type: "workStyleLoaded"
|
||||
style: WorkStyleState
|
||||
@@ -1359,6 +1364,7 @@ export type ExtensionMessage =
|
||||
| NotificationSettingsLoadedMessage
|
||||
| TimelineSettingLoadedMessage
|
||||
| ThroughputSettingLoadedMessage
|
||||
| AutoApprovalReasonSettingLoadedMessage
|
||||
| WorkStyleLoadedMessage
|
||||
| WorkStyleAppliedMessage
|
||||
| WorkStyleApplyFailedMessage
|
||||
|
||||
@@ -459,6 +459,10 @@ export interface RequestThroughputSettingMessage {
|
||||
type: "requestThroughputSetting"
|
||||
}
|
||||
|
||||
export interface RequestAutoApprovalReasonSettingMessage {
|
||||
type: "requestAutoApprovalReasonSetting"
|
||||
}
|
||||
|
||||
export interface RequestWorkStyleMessage {
|
||||
type: "requestWorkStyle"
|
||||
}
|
||||
@@ -1446,6 +1450,7 @@ export type WebviewMessage =
|
||||
| UpdateSettingRequest
|
||||
| RequestTimelineSettingMessage
|
||||
| RequestThroughputSettingMessage
|
||||
| RequestAutoApprovalReasonSettingMessage
|
||||
| RequestWorkStyleMessage
|
||||
| SetWorkStyleMessage
|
||||
| ApplyWorkStyleMessage
|
||||
|
||||
Reference in New Issue
Block a user