mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-12 02:02:13 +03:00
* fix(deps): bump transitive deps for 6 Dependabot + remaining audit vulns on main Same overrides as #9464 (ip-address, hono, fast-uri, socket.io-parser, undici) applied directly to main. Also covers brace-expansion (scoped), js-yaml v4 copies, and mermaid. npm audit: 6→0 vulnerabilities. Closes Dependabot #161-#166. * fix(deps): bump nanoid, dompurify for 2 new Dependabot alerts (#189, #190) Bumps: nanoid ^3.3.17 (was transitive, now overridden), dompurify ^3.4.13 (with monaco-editor scoped override). Closes Dependabot #189, #190. Remaining #182-#188 (js-yaml + mermaid) already closed by #9651 merge — awaiting Dependabot re-scan. npm audit → 0 vulnerabilities. * fix(repo): harden .gitignore to also ignore a _tasks symlink (/_tasks) _tasks is a SEPARATE nested git repo (gitignored). The pattern _tasks/ (trailing slash) ignores only a directory, not a SYMLINK named _tasks. A self-referential _tasks symlink can slip in via git add -A and, once pulled, checkout materializes it over the real _tasks repo (destroying plans/specs/hands-off). Anchored /_tasks ignores the symlink too, preventing re-capture. * feat(telegram): Mini App chat bridge — initData auth, update webhook, chat proxy Implements the Phase-1 slice of the Telegram Mini App integration (docs/proposals/TELEGRAM-MINIAPP.md): - src/lib/telegram/initData.ts — dependency-free WebApp initData HMAC-SHA256 verification (Telegram Bot API spec), with auth_date freshness check. - src/lib/telegram/config.ts — TELEGRAM_BOT_TOKEN / model / API base / timeout env config; token format validation; enabled gate. - src/lib/telegram/botApi.ts — minimal fetch-based Bot API client (sendMessage, editMessageText, setWebhook) + update shape helpers. - src/lib/telegram/chatProxy.ts — maps a Telegram user to a per-user OmniRoute API key (createApiKey, name telegram:<userId>) and proxies prompts through the existing handleChat pipeline. - src/app/api/telegram/update/route.ts — inbound endpoint serving both the Bot API update webhook (/start + chat replies) and the Mini App direct path (initData HMAC verified → 401 on mismatch). Public route prefix; own auth only. - src/app/miniapp/page.tsx — Telegram WebApp SDK chat UI. - Tests: telegram-init-data (7), telegram-botapi (5) — 12/12 pass. - Env docs: TELEGRAM_* vars in .env.example + ENVIRONMENT.md (sync ✓). - Route-validation check: PASS (body validated via Zod). --------- Co-authored-by: diegosouzapw <diegosouzapw@users.noreply.github.com> Co-authored-by: benzntech <bensonkbmca@gmail.com>
258 lines
5.8 KiB
Plaintext
258 lines
5.8 KiB
Plaintext
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
|
|
|
# project-specific directories
|
|
.omnivscodeagent/
|
|
omnirouteCloud/
|
|
omnirouteSite/
|
|
_cache/
|
|
_ideia/
|
|
_mono_repo/
|
|
_references/
|
|
_tasks/
|
|
.agents/**
|
|
.claude/**
|
|
.gemini/**
|
|
.config/**
|
|
.data/**
|
|
.logs/**
|
|
.tests/**
|
|
.coverage/**
|
|
coverage/
|
|
.dist/**
|
|
.next/**
|
|
.build/**
|
|
.out/**
|
|
|
|
# Stryker mutation testing — ephemeral sandbox + generated reports (never commit)
|
|
.stryker-tmp/
|
|
reports/mutation/
|
|
stryker-output-*.json
|
|
|
|
|
|
# Memory Bank and Cursor rules (local-only AI agent context)
|
|
memory-bank/
|
|
.cursor/rules/core.mdc
|
|
.cursor/rules/memory-bank.mdc
|
|
|
|
# Claude Code local state — runtime files only; shared commands at .claude/commands/ are tracked
|
|
.claude/scheduled_tasks.lock
|
|
.claude/scheduled_tasks/
|
|
.claude/sessions/
|
|
.claude/state.json
|
|
.claude/settings.local.json
|
|
|
|
# Root-level underscore-prefixed directories (private/draft — never commit)
|
|
/_*/
|
|
|
|
# Draft features documentation (internal only)
|
|
docs/new-features/
|
|
|
|
# dependencies
|
|
node_modules/
|
|
# Also ignore a root node_modules SYMLINK (worktree setups symlink it from the main
|
|
# checkout). The trailing-slash pattern above only matches a directory, so without this
|
|
# a symlink named node_modules could be staged by `git add -A` and committed.
|
|
/node_modules
|
|
*.map
|
|
.DS_Store
|
|
|
|
# Obsidian sync plugin — committed for community distribution
|
|
!obsidian-plugin/
|
|
obsidian-plugin/node_modules/
|
|
|
|
# Serena AI assistant config (local-only tool, not project code)
|
|
.serena/
|
|
|
|
# debug
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
.pnpm-debug.log*
|
|
|
|
# env files (can opt-in for committing if needed)
|
|
.env*
|
|
!.env.example
|
|
!.env.homolog.example
|
|
# Provider API keys (never commit)
|
|
*.api-key
|
|
.nvidia-api-key
|
|
|
|
# vercel
|
|
.vercel
|
|
|
|
# typescript
|
|
*.tsbuildinfo
|
|
next-env.d.ts
|
|
|
|
# data and logs
|
|
data/
|
|
.data/
|
|
logs/*
|
|
test_output.log
|
|
|
|
# analysis directories (generated, not tracked)
|
|
.analysis/
|
|
antigravity-manager-analysis/
|
|
.sisyphus/
|
|
.plans/
|
|
|
|
# open-sse tests
|
|
open-sse/test/*
|
|
|
|
# Ignore vscode AI rules
|
|
.github/instructions/codacy.instructions.md
|
|
|
|
# Playwright
|
|
.playwright-mcp/
|
|
test-results/
|
|
playwright-report/
|
|
blob-report/
|
|
cloud/
|
|
.tmp/
|
|
|
|
# Security Analysis (standalone project with own git)
|
|
security-analysis/
|
|
|
|
# Deploy workflow (contains sensitive VPS credentials)
|
|
clipr/
|
|
app.log
|
|
*.tgz
|
|
.gh-discussions.json
|
|
deploy.sh
|
|
docker-compose.minimal.yml
|
|
|
|
|
|
# Backup directories
|
|
app.__qa_backup/
|
|
.app-build-backup-*/
|
|
backup/
|
|
|
|
# Build intermediates (.build/) and shippable standalone (dist/).
|
|
# These are fully reproducible from source; never committed.
|
|
# Layer 1: Next.js now writes to .build/next (was .next); assembled bundle → dist/
|
|
# (Previously /app/ was the standalone output; renamed to /dist/ in Layer 1.)
|
|
/.build/
|
|
/dist/
|
|
/.next/
|
|
|
|
# Electron
|
|
electron/dist-electron/
|
|
electron/node_modules/
|
|
icon.iconset/
|
|
|
|
# VS Code Extension (independent Git repo)
|
|
vscode-extension/
|
|
|
|
# SQLite residual files
|
|
*.sqlite-shm
|
|
*.sqlite-wal
|
|
*.sqlite-journal
|
|
|
|
# IDEA
|
|
.idea/
|
|
|
|
# Local OpenCode agent config
|
|
.config/
|
|
|
|
# Empty/dangling files
|
|
typescript
|
|
|
|
# Gemini Antigravity agent data
|
|
.gemini/
|
|
|
|
# Superpowers plans/specs (internal tooling, not project code)
|
|
docs/superpowers/
|
|
# Superpowers visual-companion brainstorm mockups (ephemeral)
|
|
.superpowers/
|
|
|
|
# TIA test-impact map — generated at runtime in CI (build-test-impact-map.mjs), never committed (~21MB)
|
|
config/quality/test-impact-map.json
|
|
|
|
# GitNexus local index
|
|
.gitnexus
|
|
.worktrees
|
|
bin/omniroute.mjs
|
|
|
|
# Consistent with .dockerignore / .npmignore
|
|
.omc/
|
|
audit-report.json
|
|
bun.lock
|
|
|
|
# Private environment variables for .http-client
|
|
http-client.private.env.json
|
|
|
|
# Note: _ideia/ (feature-triage drafts) is fully covered by the /_*/ rule above
|
|
# and kept as a separate local-only git repo. Never committed to OmniRoute.
|
|
|
|
# i18n audit artifact (generated by scripts/i18n/audit-dashboard-pages.mjs)
|
|
scripts/i18n/_audit.json
|
|
scripts/i18n/_pending-keys.json
|
|
|
|
# Private workflow / skill / command implementations
|
|
# These contain proprietary multi-phase logic and should not be committed
|
|
.agents/workflows/implement-features-ag.md
|
|
.agents/workflows/port-upstream-features-ag.md
|
|
.agents/workflows/port-upstream-issues-ag.md
|
|
.agents/skills/implement-features/
|
|
.claude/commands/implement-features-cc.md
|
|
.claude/commands/port-upstream-features-cc.md
|
|
.claude/commands/port-upstream-issues-cc.md
|
|
.claude/worktrees/
|
|
.codegraph/
|
|
|
|
# Fumadocs generated source
|
|
.source/
|
|
|
|
# AI agent local settings and configs
|
|
.agents/
|
|
.antigravitycli/
|
|
.claude/
|
|
|
|
# PR Reviews and local feedback files
|
|
pr_reviews*.json
|
|
|
|
#hidden local data directories (never commit)
|
|
.local-data/
|
|
.data-dev/
|
|
/.junie/
|
|
|
|
# internal setup prompts with personal credentials — never commit
|
|
CODEX-SETUP-PROMPT.md
|
|
# Quality ratchet — métricas efêmeras (baseline commitado em config/quality/; métricas não)
|
|
config/quality/quality-metrics.json
|
|
|
|
# Runtime logs (diretório local, nunca versionado)
|
|
/logs/
|
|
-home-diegosouzapw-dev-automações-bots-yt-downloader-20260504 .txt
|
|
-home-diegosouzapw-dev-automações-bots-yt-downloader-20260410 .txt
|
|
docs/prompts/AGENT-OWNERSHIP-PROTOCOL.omniroute.md
|
|
docs/prompts/AGENT-OWNERSHIP-PROTOCOL.md
|
|
docs/prompts/AGENT-OWNERSHIP-PROTOCOL.omniroute-mim.md
|
|
docs/prompts/AGENT-OWNERSHIP-PROTOCOL.omniroute-mid.md
|
|
omniroute.md
|
|
|
|
# mise configuration
|
|
mise.toml
|
|
_artifacts/ # release-green artifacts
|
|
.claude-flow/
|
|
|
|
# ESLint file cache (npm run lint --cache / complexity ratchets)
|
|
.eslintcache
|
|
.eslintcache-complexity
|
|
|
|
|
|
# CI/local quality artifacts (eslint-results.json, quality-ratchet.md, etc.)
|
|
.artifacts/
|
|
|
|
# Homologation E2E suite (npm run homolog) — real-environment credentials + report output
|
|
.env.homolog
|
|
tests/homolog/.auth/
|
|
tests/homolog/ui/.auth/
|
|
homolog-report/
|
|
docker-compose.yml.bak
|
|
|
|
# _tasks e um repo git SEPARADO (ver AGENTS.md). A linha _tasks/ (com barra) NAO
|
|
# ignora um SYMLINK chamado _tasks; /_tasks (ancorado) cobre arquivo/symlink/dir na raiz
|
|
# e impede que um git add -A recapture o symlink (incidente 2026-08-08).
|
|
/_tasks
|