release: guided install, update skill, onboarding in three languages

This commit is contained in:
public-repo-gate
2026-08-29 20:50:55 +03:00
parent 3afae23729
commit 97418f8862
39 changed files with 926 additions and 84 deletions
@@ -16,10 +16,11 @@ function arg(name, fallback = '') {
const flag = name => argv.includes(`--${name}`)
const HOME = process.env.HOME || ''
const EVALS_PATH = arg('evals', process.env.ATHENA_EVALS ||
path.join(HOME, '.agents', 'routing-evals.jsonl'))
const REPORTS = path.resolve(arg('reports', process.env.ATHENA_REPORTS ||
path.join(HOME, '.agents', 'reports')))
const safe = (p, name) => { if (p.includes('..')) throw new Error(`${name}: path traversal not allowed`); return p }
const EVALS_PATH = safe(arg('evals', process.env.ATHENA_EVALS ||
path.join(HOME, '.agents', 'routing-evals.jsonl')), '--evals')
const REPORTS = path.resolve(safe(arg('reports', process.env.ATHENA_REPORTS ||
path.join(HOME, '.agents', 'reports')), '--reports'))
const FORMAT = arg('format', 'md')
const DAYS = parseInt(arg('days', '7'), 10)