mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-02 21:32:10 +03:00
* feat(cli): Codex CLI launcher + setup commands Two new CLI subcommands mirroring the `launch`/`configure` pattern, for driving the OpenAI Codex CLI against OmniRoute: - `omniroute launch-codex` — boots OmniRoute (if needed) and launches Codex CLI pointed at it (local or remote VPS), with no manual env/config editing. - `omniroute setup-codex` — generates ~/.codex profile files from OmniRoute's live model catalog. Registered in the command registry; en.json + pt-BR.json locale sections added (keeps the cli-i18n-catalog top-level parity gate green). CODEX-CLI-CONFIGURATION.md refreshed. Consolidated from work-in-progress that was uncommitted on the shared checkout; reconstructed on release/v3.8.30. * chore(vscode): reduce git repo-detection overhead for nested worktrees Disable VS Code's git auto-repository-detection / submodule scan / autofetch so the Source Control view stops indexing the ~44 nested repos (worktrees + _references/* + _mono_repo/*), which caused constant "validating" churn. Only the root repo is tracked. Editor-only settings; no runtime impact.
135 lines
3.8 KiB
JSON
135 lines
3.8 KiB
JSON
{
|
|
"workbench.sideBar.location": "left",
|
|
"css.lint.unknownAtRules": "ignore",
|
|
"sonarlint.rules": {
|
|
"css:S4662": {
|
|
"level": "off"
|
|
},
|
|
"javascript:S6747": {
|
|
"level": "off"
|
|
},
|
|
"javascript:S7764": {
|
|
"level": "off"
|
|
},
|
|
"javascript:S6772": {
|
|
"level": "off"
|
|
},
|
|
"javascript:S3776": {
|
|
"level": "off"
|
|
}
|
|
},
|
|
"git.ignoreLimitWarning": true,
|
|
|
|
// ─── Git: não adicionar os ~44 repos aninhados (9 worktrees + _references/* +
|
|
// _mono_repo/* + _ideia/_tasks/.agents) ao Source Control. Era a causa do
|
|
// "validando muito": um git status + watcher por repo. Só o repo raiz fica. ───
|
|
"git.autoRepositoryDetection": false,
|
|
"git.repositoryScanMaxDepth": 0,
|
|
"git.detectSubmodules": false,
|
|
"git.autofetch": false,
|
|
"git.autorefresh": true,
|
|
|
|
// ─── Performance: não seguir o symlink de node_modules criado pelas worktrees ───
|
|
// As worktrees em .worktrees/ apontam node_modules para o checkout principal;
|
|
// sem isto a busca atravessa o symlink mesmo com node_modules excluído.
|
|
"search.followSymlinks": false,
|
|
|
|
// ─── TypeScript server (monorepo grande: ~6,6k arquivos rastreados, Next.js 16) ───
|
|
"typescript.tsserver.maxTsServerMemory": 4096,
|
|
"typescript.disableAutomaticTypeAcquisition": true,
|
|
"typescript.tsc.autoDetect": "off",
|
|
"npm.autoDetect": "off",
|
|
// O tsserver tem o próprio watcher (independente de files.watcherExclude).
|
|
// excludeDirectories evita que ele vigie as árvores pesadas.
|
|
"typescript.tsserver.watchOptions": {
|
|
"excludeDirectories": [
|
|
"**/node_modules",
|
|
"**/.next",
|
|
"**/.build",
|
|
"**/dist",
|
|
"**/coverage",
|
|
"**/.worktrees"
|
|
]
|
|
},
|
|
|
|
// Para esconder os diretórios gerados da árvore do Explorer, descomente:
|
|
// "files.exclude": {
|
|
// "**/.worktrees": true,
|
|
// "**/coverage": true,
|
|
// "**/dist": true,
|
|
// "**/.build": true,
|
|
// "**/.next": true,
|
|
// "**/_references": true,
|
|
// "**/_mono_repo": true,
|
|
// "**/_tasks": true,
|
|
// "**/omniroute-*.tgz": true
|
|
// },
|
|
"files.watcherExclude": {
|
|
"**/.git/objects/**": true,
|
|
"**/.git/subtree-cache/**": true,
|
|
"**/node_modules/**": true,
|
|
"**/.next/**": true,
|
|
"**/.build/**": true,
|
|
"**/dist/**": true,
|
|
"**/build/**": true,
|
|
"**/out/**": true,
|
|
"**/coverage/**": true,
|
|
"**/.coverage/**": true,
|
|
"**/.nyc_output/**": true,
|
|
"**/.cache/**": true,
|
|
"**/.turbo/**": true,
|
|
"**/.swc/**": true,
|
|
"**/.stryker-tmp/**": true,
|
|
"**/stryker-output-*/**": true,
|
|
"**/playwright-report/**": true,
|
|
"**/test-results/**": true,
|
|
"**/.worktrees/**": true,
|
|
"**/.claude/worktrees/**": true,
|
|
"**/electron/**": true,
|
|
"**/_references/**": true,
|
|
"**/_mono_repo/**": true,
|
|
"**/_tasks/**": true,
|
|
"**/logs/**": true,
|
|
"**/*.tgz": true,
|
|
"**/*.tsbuildinfo": true,
|
|
"**/OmniRoute-*/**": true,
|
|
"**/*-merge-*/**": true,
|
|
"**/*-worktree-*/**": true,
|
|
"**/*-issues-*/**": true,
|
|
"**/*-reorg*/**": true
|
|
},
|
|
"search.exclude": {
|
|
"**/node_modules": true,
|
|
"**/.next": true,
|
|
"**/.build": true,
|
|
"**/dist": true,
|
|
"**/build": true,
|
|
"**/out": true,
|
|
"**/coverage": true,
|
|
"**/.coverage": true,
|
|
"**/.nyc_output": true,
|
|
"**/.cache": true,
|
|
"**/.turbo": true,
|
|
"**/.swc": true,
|
|
"**/.stryker-tmp": true,
|
|
"**/stryker-output-*": true,
|
|
"**/playwright-report": true,
|
|
"**/test-results": true,
|
|
"**/.worktrees": true,
|
|
"**/.claude/worktrees": true,
|
|
"**/electron": true,
|
|
"**/_references": true,
|
|
"**/_mono_repo": true,
|
|
"**/_tasks": true,
|
|
"**/logs": true,
|
|
"**/*.tgz": true,
|
|
"**/*.tsbuildinfo": true,
|
|
"**/package-lock.json": true,
|
|
"**/OmniRoute-*": true,
|
|
"**/*-merge-*": true,
|
|
"**/*-worktree-*": true,
|
|
"**/*-issues-*": true,
|
|
"**/*-reorg*": true
|
|
}
|
|
}
|