mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-09-01 17:10:24 +08:00
Previously, saving in the admin panel wrote a complete AI_MODELS_CONFIG into settings.json, which (by overlay precedence) replaced any config from .env or ai-models.json — admins lost their env-configured models. The panel no longer writes AI_MODELS_CONFIG. Instead its providers are merged with the env baseline at read time in loadRawServerModelsConfig, and panel credentials go to ADMIN_-prefixed env vars wired up via apiKeyEnv/baseUrlEnv so they never shadow standard vars. Env-based providers now appear read-only in the panel, name clashes are rejected, and a panel default overrides the env default. data/ is now gitignored.
82 lines
980 B
Plaintext
82 lines
980 B
Plaintext
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
|
|
|
# dependencies
|
|
/node_modules
|
|
packages/*/node_modules
|
|
packages/*/dist
|
|
/.pnp
|
|
.pnp.*
|
|
.yarn/*
|
|
!.yarn/patches
|
|
!.yarn/plugins
|
|
!.yarn/releases
|
|
!.yarn/versions
|
|
|
|
# testing
|
|
/coverage
|
|
/playwright-report/
|
|
/test-results/
|
|
|
|
# next.js
|
|
/.next/
|
|
/out/
|
|
|
|
# production
|
|
/build
|
|
|
|
# misc
|
|
.DS_Store
|
|
*.pem
|
|
|
|
# debug
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
.pnpm-debug.log*
|
|
|
|
# env files (can opt-in for committing if needed)
|
|
.env*
|
|
|
|
# vercel
|
|
.vercel
|
|
|
|
# typescript
|
|
*.tsbuildinfo
|
|
next-env.d.ts
|
|
push-via-ec2.sh
|
|
.claude/
|
|
.playwright-mcp/
|
|
# Cloudflare
|
|
.dev.vars
|
|
.open-next/
|
|
.wrangler/
|
|
.env*.local
|
|
|
|
# Electron
|
|
/dist-electron/
|
|
/release/
|
|
/electron-standalone/
|
|
# Draw.io static files (downloaded during CI build)
|
|
public/drawio/
|
|
*.dmg
|
|
*.exe
|
|
*.AppImage
|
|
*.deb
|
|
*.rpm
|
|
*.snap
|
|
|
|
CLAUDE.md
|
|
.spec-workflow
|
|
|
|
# edgeone
|
|
.edgeone
|
|
opencode.json
|
|
ai-models.json
|
|
|
|
# local backups
|
|
*.bak
|
|
.gstack/
|
|
|
|
# admin panel settings (contains secrets)
|
|
data/
|