Skip to content

A spy satellite simulator in your browser, except the data is real. Live open source spatial intelligence on a photorealistic 3D globe.

Merge main and preserve voice panel and GhostMaps schema coverage

Sameh Khamisc533b1994ce7
diff --cc src/firstRunExperience.test.mjs
index 926687378,15598d338..d76a48458
--- a/src/firstRunExperience.test.mjs
+++ b/src/firstRunExperience.test.mjs
@@@ -1052,12 -1052,13 +1052,13 @@@ test('the voice TOOL SCHEMA matches th
// Globe rotation adds one camera motion and its descriptions; Globe View
// framing/default guidance updates only move_camera and mode descriptions.
// Radio markup and the complete production-request comparison pin locality.
- // Restore the base camera/Globe View wording with the globe-rotation append.
- // S2 GhostMaps adds its layer id to the generated layer enums.
- // Alias-hint separators omit spaces to keep the existing prompt budget.
- assert.equal(block.length, 30888, 'serialized tool schema length drifted');
+ // Panel adds timeout and named voice/provider targets; consolidated guidance
+ // preserves the mission mapping and globe-rotation arguments.
- assert.equal(block.length, 31196, 'serialized tool schema length drifted');
++ // S2 GhostMaps extends the generated layer enums; both feature contracts remain.
++ assert.equal(block.length, 31206, 'serialized tool schema length drifted');
assert.equal(
crypto.createHash('sha256').update(block).digest('hex'),
- '56c91b309fb583c8737a9c3c1530553dcc8159ba2f3c5d4d2db99921f28d8f1e',
- 'b809253254b5589f3c199c218b405d8f661f040962fdd841f1182e5009119420',
++ 'f772df95404494bf492e02fde1beabffdfe61986940bffd0cf9ad5a38d768746',
'the first-run missions must ride EXISTING tools: no schema edit, no cache bust',
);
const instructions = fs.readFileSync(
diff --cc src/i18n/locales/zh-CN.json
index 0b964456e,ac15a9172..e3eefe7c5
--- a/src/i18n/locales/zh-CN.json
+++ b/src/i18n/locales/zh-CN.json
@@@ -2819,18 -2819,28 +2819,42 @@@
"Search": "搜索",
"More": "更多",
"Panels": "面板",
+ "Recent speech": "最近语音",
+ "Voice Settings": "语音设置",
+ "Preview": "预览",
+ "Settings": "设置",
+ "Close voice panel": "关闭语音面板",
+ "Show Voice Preview": "显示语音预览",
+ "Voice inactivity timeout": "语音空闲超时",
+ "Custom": "自定义",
+ "Minutes": "分钟",
+ "These preferences stay in this browser.": "这些偏好设置仅保存在此浏览器中。",
+ "Your choice applies now, but could not be saved.": "选择已生效,但无法保存。",
+ "Voice replies appear here.": "语音回复显示在此处。",
+ "Preview is off.": "预览已关闭。",
- "Automatic stop is unavailable for this voice connection.": "此语音连接不支持自动停止。"
++ "Automatic stop is unavailable for this voice connection.": "此语音连接不支持自动停止。",
+ "S2 GhostMaps": "S2 GhostMaps",
+ "Intel Picture": "情报态势图",
+ "Kinetic 30d": "近 30 天军事行动",
+ "Border Crisis": "边境危机",
+ "Iran Picture": "伊朗态势图",
+ "Iran Kinetic": "伊朗军事行动",
+ "Yemen FLOT": "也门前线",
+ "Latest Drop": "最新发布",
+ "GhostMaps file could not be read": "无法读取 GhostMaps 文件",
+ "GhostMaps catalog unavailable": "GhostMaps 目录不可用",
+ "Malformed GhostMaps catalog": "GhostMaps 目录格式无效",
+ "{count} source links ↗ · click card to open the first": {
+ "other": "{count} 个来源链接 ↗ · 点击卡片打开第一个"
+ },
+ "S2 · {name}": "S2 · {name}",
+ "Report": "报告",
+ "Open the source for {title}": "打开 {title} 的来源",
+ "LIVE · GitHub {commit} · {message} · checked every {seconds}s": "实时 · GitHub {commit} · {message} · 每 {seconds} 秒检查一次",
+ "GitHub {commit} · {message} · reconnecting for live updates": "GitHub {commit} · {message} · 正在重新连接以获取实时更新",
+ "Connecting to the S2 GhostMaps repository…": "正在连接 S2 GhostMaps 仓库…",
+ "{count} placemarks": {
+ "other": "{count} 个地标"
+ },
+ "S2 Underground publishes these KMZ products to GitHub. New uploads are detected within seconds and replace the previous edition automatically. Click a marker for its report.": "S2 Underground 在 GitHub 发布这些 KMZ 产品。新上传的内容会在数秒内被检测到,并自动替换旧版本。点击标记查看报告。"
}
diff --cc src/voice/actionSchemas.test.mjs
index 5cb882527,4b88fa12d..97e5004b5
--- a/src/voice/actionSchemas.test.mjs
+++ b/src/voice/actionSchemas.test.mjs
@@@ -42,9 -41,10 +42,10 @@@ test('the complete Realtime tool payloa
// Air quality (ECCC AQHI) extends the manifest.
// Globe rotation adds one motion; visual keyhole fit and explicit
// reset guidance/defaults update only move_camera and mode descriptions.
- // Restore base descriptions; append only globe-rotation defaults and fit guidance.
- // S2 GhostMaps adds its layer id to the generated layer enums.
- // Compact alias separators preserve the existing prompt budget.
- '0128b5e28a8baf0d6466bfdbc6e7a80fd4bb32d0d22ccadfade2af641714f12a',
++ // S2 GhostMaps extends the generated layer enums.
+ // Panel adds named voice targets and timeout; shared Panel/Cockpit guidance
+ // is consolidated without changing either feature's arguments.
- 'b2cd2decb77fb3f8f0ab65e7907c221580e21ee3e7e77581f1b52bf62126ae86',
++ '9ee82c4214499280c208c93751b19d7b724c81b7727a2d0c6dab0184749fbe15',
);
});