mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
add the shared Voice Preview and Settings panel with browser-local preview and inactivity preferences, keyboard controls and responsive positioning preserve main’s Rotation and Context behavior, clarify panel routing and refresh schema pins within the unchanged prompt limit
28 lines
863 B
JavaScript
28 lines
863 B
JavaScript
import { createAssetDirectorySource } from '../director/packs/source.js';
|
|
import { createApplicationTools } from '../app/tools.js';
|
|
import { startStandaloneChrome } from './startupChrome.js';
|
|
import { loadToolCatalog } from './toolCatalog.js';
|
|
export function createStandaloneTools(options) {
|
|
return createApplicationTools({
|
|
startChrome: startStandaloneChrome,
|
|
sceneDataPacks: {
|
|
sources: {
|
|
assets: createAssetDirectorySource({
|
|
// A panel names the app's address; see src/tools/globePanel.js.
|
|
baseUrl: new URL(
|
|
'/scene-assets/',
|
|
globalThis.GEV_APP_BASE_URL ?? document.baseURI,
|
|
).href,
|
|
}),
|
|
},
|
|
},
|
|
...options,
|
|
voice: {
|
|
supportedProviders: ['openai', 'gemini'],
|
|
panel: true,
|
|
toolCatalog: loadToolCatalog,
|
|
...options?.voice,
|
|
},
|
|
});
|
|
}
|