mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-22 03:02:20 +00:00
Merge origin/main into german/navara
Main's new layers (drone airspace, OSM places, sea marks, ski pistes) are Cesium-only for now: they join the layer directory and the Cesium catalog, are built afresh for each Cesium catalog, and show as unavailable on Navara. The zoom-out guard is a scene part that attaches to Cesium globes only. The awareness range pulses and their echoes draw on Cesium through the awareness display's viewer; Navara keeps the plain range ring. Camera-input wakes go through the display, and the analyst keeps the session-owned memory with main's area presentation. A disposed voice runner aborts work in flight, and an engine switch still keeps the last answer. Modules main added that read Cesium while they load (zoomOutGuard, awarenessEcho, the ground-sampling scratch in localGeojsonCore) now build those values on first use or use src/geo, so a Navara page still starts without the SDK. The OSM view box reads the engine's view rectangle. Main grew its own main chunk by 93,873 bytes gzip-9 since the merge base, so the baseline is raised to the merged size.
This commit is contained in:
commit
db9bf64821
264 files changed
+33864
-1424
No files matched your search
@@ -91,24 +91,26 @@ test('every capability-gated action is a real offered tool', () => {
|
||||
assert.ok(tools.has(name), `${name} is a voice tool`);
|
||||
});
|
||||
|
||||
for (const kind of ['cesium', 'navara']) test(`${kind} enters cockpit on a ready tracked aircraft without starting Contacts`, async () => {
|
||||
const engine = engineOverAustin({kind});
|
||||
const runner = runnerOn(engine, {
|
||||
styleManager: {
|
||||
getCockpitState: () => ({ entryAllowed: true }),
|
||||
getAircraftTrackingTarget: () => ({ layerId: 'flights', id: '507c84' }),
|
||||
setContextMode: () => assert.fail('the selected flight already owns the camera'),
|
||||
controlCockpit: (action, { rollbackTarget }) => {
|
||||
assert.equal(action, 'enter');
|
||||
assert.equal(rollbackTarget.id, '507c84');
|
||||
return { ok: true, state: { active: true } };
|
||||
for (const kind of ['cesium', 'navara'])
|
||||
test(`${kind} enters cockpit on a ready tracked aircraft without starting Contacts`, async () => {
|
||||
const engine = engineOverAustin({ kind });
|
||||
const runner = runnerOn(engine, {
|
||||
styleManager: {
|
||||
getCockpitState: () => ({ entryAllowed: true }),
|
||||
getAircraftTrackingTarget: () => ({ layerId: 'flights', id: '507c84' }),
|
||||
setContextMode: () =>
|
||||
assert.fail('the selected flight already owns the camera'),
|
||||
controlCockpit: (action, { rollbackTarget }) => {
|
||||
assert.equal(action, 'enter');
|
||||
assert.equal(rollbackTarget.id, '507c84');
|
||||
return { ok: true, state: { active: true } };
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
const result = await runner('control_cockpit', { action: 'enter' });
|
||||
assert.equal(result.ok, true);
|
||||
assert.equal(result.state.active, true);
|
||||
});
|
||||
const result = await runner('control_cockpit', { action: 'enter' });
|
||||
assert.equal(result.ok, true);
|
||||
assert.equal(result.state.active, true);
|
||||
});
|
||||
|
||||
test('missing scene capabilities refuse with a structured result', async () => {
|
||||
const engine = engineOverAustin({ kind: 'navara' });
|
||||
|
||||
Reference in new issue
Block a user