zidane-gui 7.0.32 → 7.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -14584,23 +14584,6 @@ const DAEMON_HEALTH_STYLE = {
|
|
|
14584
14584
|
label: "daemon unreachable"
|
|
14585
14585
|
}
|
|
14586
14586
|
};
|
|
14587
|
-
function formatTokens$1(tokens) {
|
|
14588
|
-
return tokens >= 1e3 ? `${(tokens / 1e3).toFixed(1)}k` : String(tokens);
|
|
14589
|
-
}
|
|
14590
|
-
function cacheBreakChip(info) {
|
|
14591
|
-
const rebilled = formatTokens$1(info.rebilledTokens);
|
|
14592
|
-
const cost = info.costUsd !== void 0 ? ` · ~$${info.costUsd < 0.01 ? "<0.01" : info.costUsd.toFixed(2)}` : "";
|
|
14593
|
-
if (info.changed.length === 0) return {
|
|
14594
|
-
tone: "dim",
|
|
14595
|
-
glyph: "⚡",
|
|
14596
|
-
label: `cache expired · +${rebilled} tok${cost}`
|
|
14597
|
-
};
|
|
14598
|
-
return {
|
|
14599
|
-
tone: "warn",
|
|
14600
|
-
glyph: "⚡",
|
|
14601
|
-
label: `cache break · ${info.changed.join(",")} · +${rebilled} tok${cost}`
|
|
14602
|
-
};
|
|
14603
|
-
}
|
|
14604
14587
|
function retryLabel(info) {
|
|
14605
14588
|
const suffix = info.source === "parent" ? "" : ` · ${info.source}`;
|
|
14606
14589
|
return `retrying ${info.attempt}/${info.max}${suffix}`;
|
|
@@ -15394,6 +15377,12 @@ const DEFAULT_SETTINGS = {
|
|
|
15394
15377
|
resumeLastSession: true,
|
|
15395
15378
|
persistToolResults: true,
|
|
15396
15379
|
stableToolList: false,
|
|
15380
|
+
// OS sandbox for the model's shell commands (Seatbelt / bwrap). Off by
|
|
15381
|
+
// default; `sandboxAllowWrite` is stored but has no GUI row yet (free-text
|
|
15382
|
+
// inputs are not surfaced in the GUI panel).
|
|
15383
|
+
sandbox: false,
|
|
15384
|
+
sandboxNetwork: "allow",
|
|
15385
|
+
sandboxAllowWrite: "",
|
|
15397
15386
|
autoCompact: true,
|
|
15398
15387
|
autoCompactThreshold: 0.8,
|
|
15399
15388
|
showEditDiffs: true,
|
|
@@ -15465,6 +15454,7 @@ const DEFAULT_SETTINGS = {
|
|
|
15465
15454
|
maxCostUsd: 0,
|
|
15466
15455
|
maxTotalTokens: 0,
|
|
15467
15456
|
maxWallMinutes: 0,
|
|
15457
|
+
thinkingBinding: "drop_block",
|
|
15468
15458
|
showCompactionSummary: false,
|
|
15469
15459
|
compactionModel: "",
|
|
15470
15460
|
fileLogging: false,
|
|
@@ -15523,7 +15513,12 @@ const SETTINGS_TOGGLES = [
|
|
|
15523
15513
|
{
|
|
15524
15514
|
key: "stableToolList",
|
|
15525
15515
|
label: "Stable tool list (call_tool)",
|
|
15526
|
-
description: "invoke MCP tools surfaced by tool_search through `call_tool` instead of adding them to the model's tool list, so tool discovery never breaks the prompt cache (next session activation)"
|
|
15516
|
+
description: "invoke MCP tools surfaced by tool_search through `call_tool` instead of adding them to the model's tool list, so tool discovery never breaks the prompt cache. Anthropic always works this way (replayed thinking is bound to the tool list); this toggle affects other providers (next session activation)"
|
|
15517
|
+
},
|
|
15518
|
+
{
|
|
15519
|
+
key: "sandbox",
|
|
15520
|
+
label: "Sandbox shell commands",
|
|
15521
|
+
description: "run the model's shell commands under the OS sandbox (macOS Seatbelt / Linux bwrap): writes limited to the project, temp dirs and the configured writable paths, credential dirs hidden; write_file/edit follow the same roots. Does not cover MCP servers or fetch_url. Fails closed when the sandbox is unavailable (next session activation)"
|
|
15527
15522
|
},
|
|
15528
15523
|
{
|
|
15529
15524
|
key: "autoCompact",
|
|
@@ -15603,6 +15598,15 @@ const SETTINGS_CHOICES = [
|
|
|
15603
15598
|
{ value: "disabled", label: "Disable tools" }
|
|
15604
15599
|
]
|
|
15605
15600
|
},
|
|
15601
|
+
{
|
|
15602
|
+
key: "sandboxNetwork",
|
|
15603
|
+
label: "Sandbox network",
|
|
15604
|
+
description: 'network access for sandboxed shell commands (allow keeps bun install / git fetch / gh working; deny blocks all sockets, the only way to stop exfiltration of readable files). Needs "Sandbox shell commands"',
|
|
15605
|
+
options: [
|
|
15606
|
+
{ value: "allow", label: "Allow" },
|
|
15607
|
+
{ value: "deny", label: "Deny" }
|
|
15608
|
+
]
|
|
15609
|
+
},
|
|
15606
15610
|
{
|
|
15607
15611
|
key: "toolCallDisplay",
|
|
15608
15612
|
label: "Tool calls display",
|
|
@@ -15708,6 +15712,16 @@ const SETTINGS_CHOICES = [
|
|
|
15708
15712
|
{ value: 60, label: "60 min" }
|
|
15709
15713
|
]
|
|
15710
15714
|
},
|
|
15715
|
+
{
|
|
15716
|
+
key: "thinkingBinding",
|
|
15717
|
+
label: "Preserved thinking (Anthropic only)",
|
|
15718
|
+
description: "when earlier reasoning no longer matches the conversation prefix: drop it server-side and continue, fail the run with the API error (no retry, history untouched — for debugging), or let the account default decide. Applies on the next run",
|
|
15719
|
+
options: [
|
|
15720
|
+
{ value: "drop_block", label: "Drop silently" },
|
|
15721
|
+
{ value: "error", label: "Fail the run" },
|
|
15722
|
+
{ value: "off", label: "Account default" }
|
|
15723
|
+
]
|
|
15724
|
+
},
|
|
15711
15725
|
{
|
|
15712
15726
|
key: "theme",
|
|
15713
15727
|
label: "Theme",
|
|
@@ -16371,16 +16385,6 @@ class StreamStore {
|
|
|
16371
16385
|
}
|
|
16372
16386
|
case "cache:break": {
|
|
16373
16387
|
this._cacheBreak.set(signal.sessionId, signal.info);
|
|
16374
|
-
const chip = cacheBreakChip(signal.info);
|
|
16375
|
-
const prior = this._events.get(signal.sessionId) ?? [];
|
|
16376
|
-
this._events.set(
|
|
16377
|
-
signal.sessionId,
|
|
16378
|
-
appendEvent(prior, {
|
|
16379
|
-
kind: "info",
|
|
16380
|
-
text: chip.label,
|
|
16381
|
-
notice: { severity: chip.tone === "warn" ? "warn" : "info", label: "cache" }
|
|
16382
|
-
})
|
|
16383
|
-
);
|
|
16384
16388
|
this._notifySession(signal.sessionId);
|
|
16385
16389
|
return;
|
|
16386
16390
|
}
|
|
@@ -92134,10 +92138,12 @@ const TAB_SECTIONS = {
|
|
|
92134
92138
|
],
|
|
92135
92139
|
compaction: [
|
|
92136
92140
|
{ title: "Auto-compact", keys: ["autoCompact", "autoCompactThreshold"] },
|
|
92137
|
-
{ title: "Context budget", keys: ["persistToolResults", "stableToolList"] }
|
|
92141
|
+
{ title: "Context budget", keys: ["persistToolResults", "stableToolList"] },
|
|
92142
|
+
{ title: "Reasoning", keys: ["thinkingBinding"] }
|
|
92138
92143
|
],
|
|
92139
92144
|
safety: [
|
|
92140
92145
|
{ title: "Guardrails", keys: ["safeMode", "interactionMode"] },
|
|
92146
|
+
{ title: "Sandbox", keys: ["sandbox", "sandboxNetwork"] },
|
|
92141
92147
|
{ title: "Project trust", keys: ["loadProjectExtensions", "importForeignConfigs", "importRulerConfigs"] },
|
|
92142
92148
|
{
|
|
92143
92149
|
title: "Run limits",
|
package/out/renderer/index.html
CHANGED
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
pointer-events: none;
|
|
62
62
|
}
|
|
63
63
|
</style>
|
|
64
|
-
<script type="module" crossorigin src="./assets/index-
|
|
64
|
+
<script type="module" crossorigin src="./assets/index-Cu2TKaTl.js"></script>
|
|
65
65
|
<link rel="stylesheet" crossorigin href="./assets/index-BZjkKf9P.css">
|
|
66
66
|
</head>
|
|
67
67
|
<body>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zidane-gui",
|
|
3
3
|
"productName": "Zidane",
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.1.3",
|
|
5
5
|
"description": "Zidane Desktop",
|
|
6
6
|
"author": "StackBlitz",
|
|
7
7
|
"type": "module",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"shiki": "^4.1.0",
|
|
60
60
|
"electron": "^41.7.0",
|
|
61
61
|
"tippy.js": "^6.3.7",
|
|
62
|
-
"zidane": "7.
|
|
62
|
+
"zidane": "7.1.3",
|
|
63
63
|
"zod": "^4.4.3"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|