Initial commit: KidsAI Explorer with complete functionality

- Complete KidsAI Explorer application
- Multi-language support (English/German)
- AI-powered educational guidance using OpenAI
- Interactive chat interface for children
- Proper placeholder translation fixes
- Mobile-responsive design
- Educational framework for critical thinking
This commit is contained in:
root
2025-07-13 16:59:42 +02:00
commit 500bd192d5
2450 changed files with 202563 additions and 0 deletions

52
node_modules/openai/bin/cli generated vendored Executable file
View File

@@ -0,0 +1,52 @@
#!/usr/bin/env node
const { spawnSync } = require('child_process');
const commands = {
migrate: {
description: 'Run migrations to update to the latest major SDK version',
fn: () => {
const result = spawnSync(
'npx',
[
'-y',
'https://github.com/stainless-api/migrate-ts/releases/download/0.0.3/stainless-api-migrate-0.0.3.tgz',
'--migrationConfig',
require.resolve('./migration-config.json'),
...process.argv.slice(3),
],
{ stdio: 'inherit' },
);
if (result.status !== 0) {
process.exit(result.status);
}
},
},
};
function exitWithHelp() {
console.log(`Usage: openai <subcommand>`);
console.log();
console.log('Subcommands:');
for (const [name, info] of Object.entries(commands)) {
console.log(` ${name} ${info.description}`);
}
console.log();
process.exit(1);
}
if (process.argv.length < 3) {
exitWithHelp();
}
const commandName = process.argv[2];
const command = commands[commandName];
if (!command) {
console.log(`Unknown subcommand ${commandName}.`);
exitWithHelp();
}
command.fn();

939
node_modules/openai/bin/migration-config.json generated vendored Normal file
View File

@@ -0,0 +1,939 @@
{
"pkg": "openai",
"githubRepo": "https://github.com/openai/openai-node",
"clientClass": "OpenAI",
"methods": [
{
"base": "chat.completions",
"name": "delete",
"oldName": "del"
},
{
"base": "chat.completions",
"name": "stream",
"oldBase": "beta.chat.completions"
},
{
"base": "chat.completions",
"name": "parse",
"oldBase": "beta.chat.completions"
},
{
"base": "chat.completions",
"name": "runTools",
"oldBase": "beta.chat.completions"
},
{
"base": "files",
"name": "delete",
"oldName": "del"
},
{
"base": "models",
"name": "delete",
"oldName": "del"
},
{
"base": "fineTuning.checkpoints.permissions",
"name": "delete",
"params": [
{
"type": "param",
"key": "permission_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldName": "del",
"oldParams": [
{
"type": "param",
"key": "fine_tuned_model_checkpoint",
"location": "path"
},
{
"type": "param",
"key": "permission_id",
"location": "path"
},
{
"type": "options"
}
]
},
{
"base": "vectorStores",
"name": "delete",
"oldName": "del"
},
{
"base": "vectorStores.files",
"name": "retrieve",
"params": [
{
"type": "param",
"key": "file_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "vector_store_id",
"location": "path"
},
{
"type": "param",
"key": "file_id",
"location": "path"
},
{
"type": "options"
}
]
},
{
"base": "vectorStores.files",
"name": "update",
"params": [
{
"type": "param",
"key": "file_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "vector_store_id",
"location": "path"
},
{
"type": "param",
"key": "file_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
]
},
{
"base": "vectorStores.files",
"name": "delete",
"params": [
{
"type": "param",
"key": "file_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldName": "del",
"oldParams": [
{
"type": "param",
"key": "vector_store_id",
"location": "path"
},
{
"type": "param",
"key": "file_id",
"location": "path"
},
{
"type": "options"
}
]
},
{
"base": "vectorStores.files",
"name": "content",
"params": [
{
"type": "param",
"key": "file_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "vector_store_id",
"location": "path"
},
{
"type": "param",
"key": "file_id",
"location": "path"
},
{
"type": "options"
}
]
},
{
"base": "vectorStores.fileBatches",
"name": "retrieve",
"params": [
{
"type": "param",
"key": "batch_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "vector_store_id",
"location": "path"
},
{
"type": "param",
"key": "batch_id",
"location": "path"
},
{
"type": "options"
}
]
},
{
"base": "vectorStores.fileBatches",
"name": "cancel",
"params": [
{
"type": "param",
"key": "batch_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "vector_store_id",
"location": "path"
},
{
"type": "param",
"key": "batch_id",
"location": "path"
},
{
"type": "options"
}
]
},
{
"base": "vectorStores.fileBatches",
"name": "listFiles",
"params": [
{
"type": "param",
"key": "batch_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "vector_store_id",
"location": "path"
},
{
"type": "param",
"key": "batch_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": true
},
{
"type": "options"
}
]
},
{
"base": "beta.assistants",
"name": "delete",
"oldName": "del"
},
{
"base": "beta.threads",
"name": "delete",
"oldName": "del"
},
{
"base": "beta.threads.runs",
"name": "retrieve",
"params": [
{
"type": "param",
"key": "run_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "thread_id",
"location": "path"
},
{
"type": "param",
"key": "run_id",
"location": "path"
},
{
"type": "options"
}
]
},
{
"base": "beta.threads.runs",
"name": "update",
"params": [
{
"type": "param",
"key": "run_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "thread_id",
"location": "path"
},
{
"type": "param",
"key": "run_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
]
},
{
"base": "beta.threads.runs",
"name": "cancel",
"params": [
{
"type": "param",
"key": "run_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "thread_id",
"location": "path"
},
{
"type": "param",
"key": "run_id",
"location": "path"
},
{
"type": "options"
}
]
},
{
"base": "beta.threads.runs",
"name": "submitToolOutputs",
"params": [
{
"type": "param",
"key": "run_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "thread_id",
"location": "path"
},
{
"type": "param",
"key": "run_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
]
},
{
"base": "beta.threads.runs.steps",
"name": "retrieve",
"params": [
{
"type": "param",
"key": "step_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "thread_id",
"location": "path"
},
{
"type": "param",
"key": "run_id",
"location": "path"
},
{
"type": "param",
"key": "step_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": true
},
{
"type": "options"
}
]
},
{
"base": "beta.threads.runs.steps",
"name": "list",
"params": [
{
"type": "param",
"key": "run_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "thread_id",
"location": "path"
},
{
"type": "param",
"key": "run_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": true
},
{
"type": "options"
}
]
},
{
"base": "beta.threads.messages",
"name": "retrieve",
"params": [
{
"type": "param",
"key": "message_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "thread_id",
"location": "path"
},
{
"type": "param",
"key": "message_id",
"location": "path"
},
{
"type": "options"
}
]
},
{
"base": "beta.threads.messages",
"name": "update",
"params": [
{
"type": "param",
"key": "message_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "thread_id",
"location": "path"
},
{
"type": "param",
"key": "message_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
]
},
{
"base": "beta.threads.messages",
"name": "delete",
"params": [
{
"type": "param",
"key": "message_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldName": "del",
"oldParams": [
{
"type": "param",
"key": "thread_id",
"location": "path"
},
{
"type": "param",
"key": "message_id",
"location": "path"
},
{
"type": "options"
}
]
},
{
"base": "responses",
"name": "delete",
"oldName": "del"
},
{
"base": "evals",
"name": "delete",
"oldName": "del"
},
{
"base": "evals.runs",
"name": "retrieve",
"params": [
{
"type": "param",
"key": "run_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "eval_id",
"location": "path"
},
{
"type": "param",
"key": "run_id",
"location": "path"
},
{
"type": "options"
}
]
},
{
"base": "evals.runs",
"name": "delete",
"params": [
{
"type": "param",
"key": "run_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldName": "del",
"oldParams": [
{
"type": "param",
"key": "eval_id",
"location": "path"
},
{
"type": "param",
"key": "run_id",
"location": "path"
},
{
"type": "options"
}
]
},
{
"base": "evals.runs",
"name": "cancel",
"params": [
{
"type": "param",
"key": "run_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "eval_id",
"location": "path"
},
{
"type": "param",
"key": "run_id",
"location": "path"
},
{
"type": "options"
}
]
},
{
"base": "evals.runs.outputItems",
"name": "retrieve",
"params": [
{
"type": "param",
"key": "output_item_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "eval_id",
"location": "path"
},
{
"type": "param",
"key": "run_id",
"location": "path"
},
{
"type": "param",
"key": "output_item_id",
"location": "path"
},
{
"type": "options"
}
]
},
{
"base": "evals.runs.outputItems",
"name": "list",
"params": [
{
"type": "param",
"key": "run_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "eval_id",
"location": "path"
},
{
"type": "param",
"key": "run_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": true
},
{
"type": "options"
}
]
},
{
"base": "containers",
"name": "delete",
"oldName": "del"
},
{
"base": "containers.files",
"name": "retrieve",
"params": [
{
"type": "param",
"key": "file_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "container_id",
"location": "path"
},
{
"type": "param",
"key": "file_id",
"location": "path"
},
{
"type": "options"
}
]
},
{
"base": "containers.files",
"name": "delete",
"params": [
{
"type": "param",
"key": "file_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldName": "del",
"oldParams": [
{
"type": "param",
"key": "container_id",
"location": "path"
},
{
"type": "param",
"key": "file_id",
"location": "path"
},
{
"type": "options"
}
]
},
{
"base": "containers.files.content",
"name": "retrieve",
"params": [
{
"type": "param",
"key": "file_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "container_id",
"location": "path"
},
{
"type": "param",
"key": "file_id",
"location": "path"
},
{
"type": "options"
}
]
}
]
}