local dev setup + OPENAI_BASE_URL support + dashboard fix

- CLAUDE.md con arquitectura y comandos del proyecto
- env.example: agregar LIMIT_CONVERSATIONS, MAX_CHARS_PER_MESSAGE, OPENAI_BASE_URL
- docker-compose.override: puerto 3001, extra_hosts para modelo local en Linux
- OpenAI clients: soporte OPENAI_BASE_URL para apuntar a modelo local compatible
- stats.js: sync de órdenes en background, dashboard no bloquea al cargar
- package-lock: dbmate movido a prod dependencies

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Lucas Tettamanti
2026-05-01 18:32:22 -03:00
parent b933db88df
commit 525679cf8b
8 changed files with 116 additions and 20 deletions

10
package-lock.json generated
View File

@@ -12,6 +12,7 @@
"ajv": "^8.17.1",
"cors": "^2.8.5",
"csv-parse": "^6.1.0",
"dbmate": "^2.0.0",
"dotenv": "^17.2.3",
"express": "^4.19.2",
"mysql2": "^3.16.2",
@@ -22,7 +23,6 @@
},
"devDependencies": {
"@vitest/coverage-v8": "^4.0.18",
"dbmate": "^2.0.0",
"nodemon": "^3.0.3",
"vitest": "^4.0.18"
}
@@ -94,7 +94,6 @@
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -108,7 +107,6 @@
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -122,7 +120,6 @@
"cpu": [
"arm"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -136,7 +133,6 @@
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -150,7 +146,6 @@
"cpu": [
"ia32"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -164,7 +159,6 @@
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -178,7 +172,6 @@
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1466,7 +1459,6 @@
"version": "2.28.0",
"resolved": "https://registry.npmjs.org/dbmate/-/dbmate-2.28.0.tgz",
"integrity": "sha512-kbJ+Aqna/SOsS86RuimX8X/qmo9ItG00EYMUfUQmo3xGoXBac4+PZwOYV0fVPIGakIRljNolhfJySkPAFjmZsA==",
"dev": true,
"license": "MIT",
"bin": {
"dbmate": "dist/cli.js"