anixcode 0.12.0__tar.gz → 0.12.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. {anixcode-0.12.0 → anixcode-0.12.1}/PKG-INFO +1 -1
  2. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode/__init__.py +1 -1
  3. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode/cli.py +1 -1
  4. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode/i18n_en.py +91 -90
  5. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode/tui/app.py +53 -53
  6. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode/tui/screens.py +1 -1
  7. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode/tui/widgets.py +4 -4
  8. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode.egg-info/PKG-INFO +1 -1
  9. {anixcode-0.12.0 → anixcode-0.12.1}/pyproject.toml +1 -1
  10. {anixcode-0.12.0 → anixcode-0.12.1}/LICENSE +0 -0
  11. {anixcode-0.12.0 → anixcode-0.12.1}/README.md +0 -0
  12. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode/__main__.py +0 -0
  13. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode/agent.py +0 -0
  14. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode/airpc.py +0 -0
  15. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode/browser.py +0 -0
  16. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode/checkpoints.py +0 -0
  17. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode/commands.py +0 -0
  18. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode/compaction.py +0 -0
  19. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode/danger.py +0 -0
  20. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode/i18n.py +0 -0
  21. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode/images.py +0 -0
  22. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode/llm.py +0 -0
  23. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode/mcp.py +0 -0
  24. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode/mentions.py +0 -0
  25. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode/projects.py +0 -0
  26. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode/prompts.py +0 -0
  27. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode/providers.py +0 -0
  28. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode/settings.py +0 -0
  29. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode/storage.py +0 -0
  30. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode/tools/__init__.py +0 -0
  31. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode/tools/base.py +0 -0
  32. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode/tools/browser.py +0 -0
  33. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode/tools/files.py +0 -0
  34. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode/tools/search.py +0 -0
  35. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode/tools/shell.py +0 -0
  36. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode/tools/todo.py +0 -0
  37. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode/tools/web.py +0 -0
  38. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode/tui/__init__.py +0 -0
  39. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode/tui/anim.py +0 -0
  40. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode/tui/app.tcss +0 -0
  41. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode.egg-info/SOURCES.txt +0 -0
  42. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode.egg-info/dependency_links.txt +0 -0
  43. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode.egg-info/entry_points.txt +0 -0
  44. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode.egg-info/requires.txt +0 -0
  45. {anixcode-0.12.0 → anixcode-0.12.1}/anixcode.egg-info/top_level.txt +0 -0
  46. {anixcode-0.12.0 → anixcode-0.12.1}/setup.cfg +0 -0
  47. {anixcode-0.12.0 → anixcode-0.12.1}/tests/test_agent.py +0 -0
  48. {anixcode-0.12.0 → anixcode-0.12.1}/tests/test_commands.py +0 -0
  49. {anixcode-0.12.0 → anixcode-0.12.1}/tests/test_i18n.py +0 -0
  50. {anixcode-0.12.0 → anixcode-0.12.1}/tests/test_images.py +0 -0
  51. {anixcode-0.12.0 → anixcode-0.12.1}/tests/test_llm.py +0 -0
  52. {anixcode-0.12.0 → anixcode-0.12.1}/tests/test_mcp.py +0 -0
  53. {anixcode-0.12.0 → anixcode-0.12.1}/tests/test_projects.py +0 -0
  54. {anixcode-0.12.0 → anixcode-0.12.1}/tests/test_providers.py +0 -0
  55. {anixcode-0.12.0 → anixcode-0.12.1}/tests/test_reliability.py +0 -0
  56. {anixcode-0.12.0 → anixcode-0.12.1}/tests/test_safety_mentions.py +0 -0
  57. {anixcode-0.12.0 → anixcode-0.12.1}/tests/test_settings.py +0 -0
  58. {anixcode-0.12.0 → anixcode-0.12.1}/tests/test_tools.py +0 -0
  59. {anixcode-0.12.0 → anixcode-0.12.1}/tests/test_v011_features.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: anixcode
3
- Version: 0.12.0
3
+ Version: 0.12.1
4
4
  Summary: AI coding agent for the terminal. Bring your own API key.
5
5
  Author: an1zy
6
6
  License-Expression: MIT
@@ -1,3 +1,3 @@
1
1
  """ANIX Code: an AI coding agent for your terminal. Bring your own API key."""
2
2
 
3
- __version__ = "0.12.0"
3
+ __version__ = "0.12.1"
@@ -205,7 +205,7 @@ def cmd_run(args: argparse.Namespace) -> int:
205
205
  elif isinstance(ev, ToolFinished) and ev.result.error:
206
206
  print(f" ✗ {ev.result.output.splitlines()[0] if ev.result.output else ''}", file=sys.stderr)
207
207
  elif isinstance(ev, GoalProgress):
208
- print(f"\n🎯 {ev.status} ({ev.round}/{ev.max_rounds})", file=sys.stderr, flush=True)
208
+ print(f"\n· goal: {ev.status} ({ev.round}/{ev.max_rounds})", file=sys.stderr, flush=True)
209
209
  elif isinstance(ev, AgentError):
210
210
  print(f"\n✗ {ev.message}", file=sys.stderr)
211
211
  code = 1
@@ -349,71 +349,20 @@ EN: dict[str, str] = {
349
349
  '🖼 Вставлено из буфера: {0}': '🖼 Pasted from clipboard: {0}',
350
350
  '🖼 Вложения очищены': '🖼 Attachments cleared',
351
351
  'изображений: {0}': 'images: {0}',
352
- # v0.11: /goal, /btw, embedded headless browser, subagent, todo, security, CLI
352
+ # v0.11-v0.12: /goal, /btw, embedded headless browser, subagent, todo, security, CLI, beginner UX
353
353
  '\n\nСсылки:\n': '\n\nLinks:\n',
354
354
  '\n … ещё {0}': '\n … {0} more',
355
+ '\nНажмите Enter — разрешить · Esc — отклонить · или напишите словами, как сделать иначе':
356
+ '\nPress Enter — allow · Esc — deny · or type in plain words what to do instead',
355
357
  ' Пока нет ни одного. Положите SKILL.md в .anixcode/skills/<имя>/SKILL.md':
356
358
  ' None yet. Put SKILL.md in .anixcode/skills/<name>/SKILL.md',
359
+ ' Браузер ': ' Browser ',
360
+ ' Всегда в сессии ': ' Always this session ',
361
+ ' ≡ Меню ': ' ≡ Menu ',
357
362
  '(пустая страница)': '(empty page)',
358
363
  '(пустой ответ)': '(empty response)',
359
- '<вопрос>': '<question>',
360
- '<цель|stop>': '<goal|stop>',
361
- 'HTTP {0}': 'HTTP {0}',
362
- 'Zero-Bill Router (локально)': 'Zero-Bill Router (local)',
363
- '[url|close]': '[url|close]',
364
- '{0} · {1}': '{0} · {1}',
365
- '{0} записей': '{0} entries',
366
- '{0} шагов': '{0} steps',
367
- '{0}/{1} готово': '{0}/{1} done',
368
- 'Браузер': 'Browser',
369
- 'Допустимые значения: off, low, medium, high': 'Allowed values: off, low, medium, high',
370
- 'Использование: /btw <быстрый вопрос>': 'Usage: /btw <quick question>',
371
- 'Использование: /goal <описание цели> · /goal stop': 'Usage: /goal <goal description> · /goal stop',
372
- 'Ошибки консоли:\n': 'Console errors:\n',
373
- 'Сейчас нет активной цели.': 'No active goal right now.',
374
- 'Уровень размышлений: {0}': 'Reasoning effort: {0}',
375
- 'Уровень размышлений: {0}. Задайте: /reasoning off|low|medium|high':
376
- 'Reasoning effort: {0}. Set: /reasoning off|low|medium|high',
377
- 'автономная работа до полного выполнения и проверки цели':
378
- 'autonomous work until the goal is fully achieved and verified',
379
- 'автономный режим /goal до полной проверки': 'autonomous /goal mode until fully verified',
380
- 'быстрый побочный вопрос без изменения контекста сессии':
381
- 'quick side question without changing session context',
382
- 'встроенный headless-браузер внутри окна ANIX Code':
383
- 'built-in headless browser inside the ANIX Code window',
384
- 'выводить события в формате NDJSON (для скриптов/CI)': 'emit events as NDJSON (for scripts/CI)',
385
- 'выкл': 'off',
386
- 'есть, встроенный браузер с JS и скриншотами': 'installed, embedded browser with JS and screenshots',
387
- 'закрыт': 'closed',
388
- 'найденные навыки проекта и системы (SKILL.md)': 'discovered project and global skills (SKILL.md)',
389
- 'нет (встроенный браузер работает в HTTP-режиме; для JS: pip install playwright)':
390
- 'missing (embedded browser runs in HTTP mode; for JS: pip install playwright)',
391
- 'ошибка': 'error',
392
- 'переопределить модель для этого запуска': 'override model for this run',
393
- 'переопределить провайдера для этого запуска': 'override provider for this run',
394
- 'продолжить сессию по её ID': 'resume a session by its ID',
395
- 'уровень размышлений модели: off / low / medium / high': 'model reasoning effort: off / low / medium / high',
396
- 'файл может содержать секреты или ключи ({0})': 'file may contain secrets or keys ({0})',
397
- 'файл приватного ключа или сертификата ({0})': 'private key or certificate file ({0})',
398
- '⏳ Поставлено в очередь ({0}): {1}': '⏳ Queued ({0}): {1}',
399
- '☑ Задачи {0}/{1}': '☑ Tasks {0}/{1}',
400
- '🎯 Активная цель: {0}': '🎯 Active goal: {0}',
401
- '🎯 Достигнут лимит раундов цели ({0})': '🎯 Goal round limit reached ({0})',
402
- '🎯 Режим цели остановлен': '🎯 Goal mode stopped',
403
- '🎯 Цель · раунд {0}/{1}': '🎯 Goal · round {0}/{1}',
404
- '🎯 Цель достигнута ({0}/{1})': '🎯 Goal achieved ({0}/{1})',
405
- '🎯 Цель заблокирована ({0}/{1})': '🎯 Goal blocked ({0}/{1})',
406
- '📚 Навыки (SKILL.md)\n': '📚 Skills (SKILL.md)\n',
407
- '🧭 Встроенный headless-браузер (без всплывающих окон)': '🧭 Built-in headless browser (no popup windows)',
408
- '🧭 Встроенный headless-браузер — введите адрес или /browser <url>':
409
- '🧭 Built-in headless browser — enter a URL or /browser <url>',
410
- '🧭 Загружаю {0}…': '🧭 Loading {0}…',
411
- # v0.12: beginner-friendly TUI, welcome dashboard, quick bar, visual menu, 3-step setup
412
- '\nНажмите Enter — разрешить · Esc — отклонить · или напишите словами, как сделать иначе':
413
- '\nPress Enter — allow · Esc — deny · or type in plain words what to do instead',
414
- ' Всегда в сессии ': ' Always this session ',
415
- ' ☰ Меню ': ' ☰ Menu ',
416
- ' 🧭 Браузер ': ' 🧭 Browser ',
364
+ '+ Фото': '+ Image',
365
+ '/ Команды': '/ Commands',
417
366
  '1. Модель: {0}': '1. Model: {0}',
418
367
  '1. Подключить модель →': '1. Connect a model →',
419
368
  '1. Провайдер': '1. Provider',
@@ -423,21 +372,55 @@ EN: dict[str, str] = {
423
372
  '3. Изучить проект (/init)': '3. Study project (/init)',
424
373
  '3. Модель (уже выбрана рекомендуемая)': '3. Model (recommended default pre-filled)',
425
374
  '3. Правила: AGENTS.md': '3. Rules: AGENTS.md',
375
+ '<вопрос>': '<question>',
376
+ '<цель|stop>': '<goal|stop>',
426
377
  '? Помощь': '? Help',
378
+ '@ Файл': '@ File',
427
379
  'Enter — разрешить · Esc — отклонить · или напишите словами, как сделать иначе…':
428
380
  'Enter — allow · Esc — deny · or type what to do instead…',
429
381
  'GPT-4.1 / GPT-4o / o3 — стабильное качество и быстрые правки':
430
382
  'GPT-4.1 / GPT-4o / o3 — reliable quality and fast edits',
383
+ 'HTTP {0}': 'HTTP {0}',
384
+ 'Zero-Bill Router (локально)': 'Zero-Bill Router (local)',
385
+ '[url|close]': '[url|close]',
386
+ '{0} · {1}': '{0} · {1}',
387
+ '{0} записей': '{0} entries',
388
+ '{0} шагов': '{0} steps',
389
+ '{0}/{1} готово': '{0}/{1} done',
431
390
  'Агент работает… Напишите следующее сообщение (в очередь) или /btw <вопрос>…':
432
391
  'Agent is working… Type your next message (queued) or /btw <question>…',
433
392
  'Адрес сервера (обычно менять не нужно)': 'Server URL (usually no need to change)',
393
+ 'Активная цель: {0}': 'Active goal: {0}',
434
394
  'Бесплатно и офлайн на вашем ПК — нажмите «Список моделей»':
435
395
  'Free & offline on your PC — click “Model list”',
396
+ 'Браузер': 'Browser',
397
+ 'Быстрый вопрос': 'Quick question',
398
+ 'Быстрый вопрос (/btw)': 'Quick question (/btw)',
436
399
  'Быстрый старт (нажмите на любой шаг):': 'Quick start (click any step):',
400
+ 'В очереди ({0}): {1}': 'Queued ({0}): {1}',
401
+ 'Вернуть правки': 'Redo edits',
402
+ 'Вставить скриншот': 'Paste screenshot',
403
+ 'Встроенный браузер': 'Built-in browser',
404
+ 'Встроенный браузер (headless)': 'Built-in browser (headless)',
405
+ 'Встроенный браузер — введите адрес или /browser <url>':
406
+ 'Built-in browser — enter a URL or /browser <url>',
407
+ 'Выбрать проект': 'Switch project',
408
+ 'Выбрать тему': 'Pick theme',
437
409
  'Где взять ключ бесплатно/в кабинете: {0}': 'Where to get an API key: {0}',
410
+ 'Допустимые значения: off, low, medium, high': 'Allowed values: off, low, medium, high',
411
+ 'Достигнут лимит раундов цели ({0})': 'Goal round limit reached ({0})',
412
+ 'Загружаю {0}…': 'Loading {0}…',
413
+ 'Задачи {0}/{1}': 'Tasks {0}/{1}',
414
+ 'Запустить тесты': 'Run tests',
415
+ 'Запустить тесты (/test)': 'Run tests (/test)',
438
416
  'ИИ-помощник для кода: просто опишите задачу обычными словами или нажмите кнопку ниже.':
439
417
  'AI coding assistant: describe your task in plain words or click a button below.',
440
418
  'Изменить файл': 'Edit file',
419
+ 'Изучить проект': 'Study project',
420
+ 'Изучить проект (/init)': 'Study project (/init)',
421
+ 'Использование: /btw <быстрый вопрос>': 'Usage: /btw <quick question>',
422
+ 'Использование: /goal <описание цели> · /goal stop': 'Usage: /goal <goal description> · /goal stop',
423
+ 'Как пользоваться': 'How to use',
441
424
  'Ключ не нужен — работает локально на вашем компьютере': 'No API key needed — runs locally on your machine',
442
425
  'Локальные модели из LM Studio — ключ не нужен': 'Local models from LM Studio — no key needed',
443
426
  'Локальный роутер ANIX — ключ не нужен': 'Local ANIX Router — no key needed',
@@ -445,85 +428,103 @@ EN: dict[str, str] = {
445
428
  'Любой совместимый сервер или прокси с адресом /v1': 'Any OpenAI-compatible server or proxy with a /v1 URL',
446
429
  'Мгновенная скорость ответов, есть бесплатный лимит': 'Ultra-fast responses with a generous free tier',
447
430
  'Меню': 'Menu',
431
+ 'Меню действий': 'Action menu',
448
432
  'Модели Grok с большим контекстом': 'Grok models with a large context window',
433
+ 'Модель не подключена — нажмите здесь': 'Model not connected — click here',
434
+ 'Навыки (SKILL.md)\n': 'Skills (SKILL.md)\n',
449
435
  'Напишите задачу (Enter — отправить · / — команды · @ — файлы · Alt+V — скриншот)…':
450
436
  'Describe a task (Enter — send · / — commands · @ — files · Alt+V — screenshot)…',
451
437
  'Нативный API с автоматическим кэшированием промптов (экономит токены)':
452
438
  'Native API with automatic prompt caching (saves tokens & cost)',
453
439
  'Недорого и отлично подходит для старта с кодом': 'Affordable and great for getting started with code',
440
+ 'Новая сессия': 'New session',
454
441
  'Огромный контекст 1M токенов, есть бесплатный тариф в AI Studio':
455
442
  'Huge 1M token context with a free tier in AI Studio',
456
443
  'Один ключ для сотен моделей (Claude, GPT, DeepSeek, бесплатные модели)':
457
444
  'One key for hundreds of models (Claude, GPT, DeepSeek, free models)',
445
+ 'Откатить правки': 'Undo edits',
458
446
  'Откройте любой сайт или локальное приложение (например localhost:3000).\nВсё открывается прямо здесь — внешний браузер не всплывёт.':
459
447
  'Open any website or local app (e.g. localhost:3000).\nEverything renders right here — no external browser pops up.',
448
+ 'Открыть браузер': 'Open browser',
449
+ 'Ошибки консоли:\n': 'Console errors:\n',
450
+ 'Подключить модель': 'Connect model',
460
451
  'Подключение ИИ-модели': 'Connect an AI Model',
461
452
  'Поиск действия (например: браузер, цель, тест, тема, откат)…':
462
453
  'Search actions (e.g. browser, goal, test, theme, undo)…',
454
+ 'Полный доступ': 'Full access',
463
455
  'Популярные действия — просто нажмите или напишите задачу внизу:':
464
456
  'Popular actions — click one or type your task below:',
457
+ 'Поставить цель': 'Set a goal',
458
+ 'Поставить цель (/goal)': 'Set a goal (/goal)',
459
+ 'Проверить изменения': 'Review changes',
460
+ 'Проверить код (/review)': 'Review code (/review)',
465
461
  'Проверить связь': 'Test connection',
462
+ 'Проверка системы': 'System check',
466
463
  'Проверяю подключение…': 'Testing connection…',
467
464
  'Прочитать секретный файл': 'Read sensitive file',
465
+ 'Прошлые сессии': 'Past sessions',
466
+ 'Режим Build / Plan': 'Build / Plan mode',
467
+ 'Режим цели остановлен': 'Goal mode stopped',
468
+ 'Сделать коммит': 'Commit changes',
469
+ 'Сейчас нет активной цели.': 'No active goal right now.',
470
+ 'Сменить тему': 'Change theme',
471
+ 'Сменить язык': 'Change language',
468
472
  'Сохранить и начать': 'Save & start',
473
+ 'Справка': 'Help',
474
+ 'Уровень размышлений: {0}': 'Reasoning effort: {0}',
475
+ 'Уровень размышлений: {0}. Задайте: /reasoning off|low|medium|high':
476
+ 'Reasoning effort: {0}. Set: /reasoning off|low|medium|high',
477
+ 'Цель · раунд {0}/{1}': 'Goal · round {0}/{1}',
478
+ 'Цель заблокирована ({0}/{1})': 'Goal blocked ({0}/{1})',
469
479
  'Шаг 1: выберите провайдера → Шаг 2: вставьте ключ (если нужен) → Шаг 3: нажмите «Сохранить».':
470
480
  'Step 1: pick a provider → Step 2: paste your key (if needed) → Step 3: click “Save & start”.',
471
481
  'автономная работа до полной проверки': 'autonomous work until fully verified',
482
+ 'автономная работа до полного выполнения и проверки цели':
483
+ 'autonomous work until the goal is fully achieved and verified',
484
+ 'автономный режим /goal до полной проверки': 'autonomous /goal mode until fully verified',
472
485
  'агент разберёт код и создаст AGENTS.md': 'study the project and create AGENTS.md',
486
+ 'быстрый побочный вопрос без изменения контекста сессии':
487
+ 'quick side question without changing session context',
473
488
  'вернуть файлы к состоянию до ответа': 'revert files to before the last answer',
474
489
  'вернуться к предыдущему диалогу': 'resume a previous conversation',
475
490
  'включить/выключить запросы подтверждений': 'toggle approval prompts on/off',
476
491
  'все горячие клавиши и команды': 'all shortcuts and commands',
477
492
  'вставьте ваш API-ключ (sk-…)': 'paste your API key (sk-…)',
493
+ 'встроенный headless-браузер внутри окна ANIX Code':
494
+ 'built-in headless browser inside the ANIX Code window',
478
495
  'выбрать провайдера, ключ и модель': 'pick provider, API key, and model',
496
+ 'выводить события в формате NDJSON (для скриптов/CI)': 'emit events as NDJSON (for scripts/CI)',
497
+ 'выкл': 'off',
498
+ 'есть, встроенный браузер с JS и скриншотами': 'installed, embedded browser with JS and screenshots',
499
+ 'закрыт': 'closed',
500
+ 'найденные навыки проекта и системы (SKILL.md)': 'discovered project and global skills (SKILL.md)',
479
501
  'найти тесты, прогнать и починить': 'find, run, and fix failing tests',
480
502
  'начать чистый диалог в этом проекте': 'start a fresh chat in this project',
481
503
  'не обязателен для локальной модели': 'optional for local models',
504
+ 'нет (встроенный браузер работает в HTTP-режиме; для JS: pip install playwright)':
505
+ 'missing (embedded browser runs in HTTP mode; for JS: pip install playwright)',
482
506
  'открыть папку или склонировать с GitHub': 'open a folder or clone from GitHub',
483
507
  'открыть сайт/localhost прямо в окне': 'open a site or localhost right inside the app',
508
+ 'ошибка': 'error',
484
509
  'переключить Русский / English': 'switch between Russian & English',
510
+ 'переопределить модель для этого запуска': 'override model for this run',
511
+ 'переопределить провайдера для этого запуска': 'override provider for this run',
485
512
  'повторить откаченные правки': 're-apply reverted edits',
486
513
  'подготовить и закоммитить изменения': 'stage and commit changes cleanly',
487
514
  'поиск багов и рисков в текущем коде': 'check uncommitted changes for bugs and risks',
488
515
  'править код или только читать/планировать': 'edit code or read/plan only',
489
516
  'прикрепить изображение из буфера обмена': 'attach an image from clipboard',
490
517
  'проверить модель, git, ripgrep, браузер': 'check model, git, ripgrep, and browser',
518
+ 'продолжить сессию по её ID': 'resume a session by its ID',
491
519
  'сменить цвета интерфейса с предпросмотром': 'change interface colors with live preview',
492
520
  'спросить без изменения истории диалога': 'ask without modifying conversation history',
521
+ 'уровень размышлений модели: off / low / medium / high': 'model reasoning effort: off / low / medium / high',
522
+ 'файл может содержать секреты или ключи ({0})': 'file may contain secrets or keys ({0})',
523
+ 'файл приватного ключа или сертификата ({0})': 'private key or certificate file ({0})',
493
524
  '↑↓ или клик — выбрать · Enter — выполнить · Esc — закрыть':
494
525
  '↑↓ or click — pick · Enter — run · Esc — close',
495
526
  '↶ Откат': '↶ Undo',
496
- '↶ Откатить правки': '↶ Undo edits',
497
- '↷ Вернуть правки': '↷ Redo edits',
498
- '⌘ Команды': '⌘ Commands',
499
- '☰ Быстрое меню действий': '☰ Quick Action Menu',
500
- '⚠ Модель не подключена — нажмите здесь': '⚠ Model not connected — click here',
501
- '✎ Режим Build / Plan': '✎ Build / Plan mode',
502
527
  '✓ Подключение работает! Найдено моделей: {0}. Можно нажимать «Сохранить и начать».':
503
528
  '✓ Connection works! Found {0} models. Click “Save & start”.',
504
- '✨ Новая сессия': '✨ New session',
505
- '❓ Как пользоваться': '❓ How to use',
506
- '❓ Справка': '❓ Help',
507
- '🌐 Сменить язык': '🌐 Change language',
508
- '🎨 Выбрать тему': '🎨 Pick theme',
509
- '🎨 Сменить тему': '🎨 Change theme',
510
- '🎯 Поставить цель': '🎯 Set a goal',
511
- '🎯 Цель': '🎯 Goal',
512
- '🐛 Проверить изменения': '🐛 Review changes',
513
- '🐛 Проверить код': '🐛 Review code',
514
- '💬 Быстрый вопрос': '💬 Quick question',
515
- '💬 Вопрос': '💬 Ask /btw',
516
- '💾 Сделать коммит': '💾 Commit changes',
517
- '📁 Файл': '📁 File',
518
- '📂 Выбрать проект': '📂 Switch project',
519
- '🔍 Изучить проект': '🔍 Study project',
520
- '🔓 Полный доступ': '🔓 Full access',
521
- '🕘 Прошлые сессии': '🕘 Past sessions',
522
- '🖼 Вставить скриншот': '🖼 Paste screenshot',
523
- '🖼 Фото': '🖼 Image',
524
- '🤖 Подключить модель': '🤖 Connect model',
525
- '🧪 Запустить тесты': '🧪 Run tests',
526
- '🧭 Встроенный браузер': '🧭 Built-in browser',
527
- '🧭 Открыть браузер': '🧭 Open browser',
528
- '🩺 Проверка системы': '🩺 System check',
529
+ '✓ Цель достигнута ({0}/{1})': '✓ Goal achieved ({0}/{1})',
529
530
  }
@@ -103,8 +103,8 @@ class AnixApp(App):
103
103
  def compose(self) -> ComposeResult:
104
104
  with Horizontal(id="header"):
105
105
  yield Brand(id="brand")
106
- yield Chip(tr(" ☰ Меню "), self.action_quick_menu, id="menu-chip")
107
- yield Chip(tr(" 🧭 Браузер "), self.action_toggle_browser, id="browser-chip")
106
+ yield Chip(tr(" ≡ Меню "), self.action_quick_menu, id="menu-chip")
107
+ yield Chip(tr(" Браузер "), self.action_toggle_browser, id="browser-chip")
108
108
  yield Chip("BUILD", self.action_toggle_mode, id="mode")
109
109
  with Horizontal(id="workspace"):
110
110
  with VerticalScroll(id="chat"):
@@ -120,11 +120,11 @@ class AnixApp(App):
120
120
  yield AttachmentBar(self._remove_image, id="attachments")
121
121
  yield MentionList(id="mentions")
122
122
  yield QuickActionBar([
123
- (tr("⌘ Команды"), lambda: self._prefill("/")),
124
- (tr("📁 Файл"), lambda: self._prefill("@")),
125
- (tr("🖼 Фото"), self.action_paste_image),
126
- (tr("🎯 Цель"), lambda: self._prefill("/goal ")),
127
- (tr("💬 Вопрос"), lambda: self._prefill("/btw ")),
123
+ (tr("/ Команды"), lambda: self._prefill("/")),
124
+ (tr("@ Файл"), lambda: self._prefill("@")),
125
+ (tr("+ Фото"), self.action_paste_image),
126
+ ("/goal", lambda: self._prefill("/goal ")),
127
+ ("/btw", lambda: self._prefill("/btw ")),
128
128
  (tr("↶ Откат"), self.action_undo),
129
129
  (tr("? Помощь"), self.action_help),
130
130
  ], id="quick-bar")
@@ -172,14 +172,14 @@ class AnixApp(App):
172
172
  lambda: self._run_starter_command("/init")),
173
173
  ]
174
174
  starters = [
175
- (tr("🔍 Изучить проект"), lambda: self._run_starter_command("/init")),
176
- (tr("🐛 Проверить код"), lambda: self._run_starter_command("/review")),
177
- (tr("🧪 Запустить тесты"), lambda: self._run_starter_command("/test")),
178
- (tr("🎯 Поставить цель"), lambda: self._prefill("/goal ")),
179
- (tr("💬 Быстрый вопрос"), lambda: self._prefill("/btw ")),
180
- (tr("🧭 Открыть браузер"), self.action_toggle_browser),
181
- (tr("🎨 Сменить тему"), self.action_cycle_theme),
182
- (tr("❓ Как пользоваться"), self.action_help),
175
+ (tr("Изучить проект (/init)"), lambda: self._run_starter_command("/init")),
176
+ (tr("Проверить код (/review)"), lambda: self._run_starter_command("/review")),
177
+ (tr("Запустить тесты (/test)"), lambda: self._run_starter_command("/test")),
178
+ (tr("Поставить цель (/goal)"), lambda: self._prefill("/goal ")),
179
+ (tr("Быстрый вопрос (/btw)"), lambda: self._prefill("/btw ")),
180
+ (tr("Открыть браузер"), self.action_toggle_browser),
181
+ (tr("Сменить тему"), self.action_cycle_theme),
182
+ (tr("Как пользоваться"), self.action_help),
183
183
  ]
184
184
  return WelcomePanel(logo, steps, starters, id="welcome")
185
185
 
@@ -323,19 +323,19 @@ class AnixApp(App):
323
323
  mode = self.agent.mode if self.agent else self._agent_mode
324
324
  goal_on = bool(self.agent and self.agent.active_goal)
325
325
  badge = self.query_one("#mode", Chip)
326
- badge.update(" 🎯 GOAL " if goal_on else (" 👁 PLAN " if mode == "plan" else " ✎ BUILD "))
326
+ badge.update("GOAL" if goal_on else ("PLAN" if mode == "plan" else "BUILD"))
327
327
  badge.set_class(mode == "plan" and not goal_on, "plan")
328
328
  badge.set_class(goal_on, "goal")
329
329
  if self.settings.ready:
330
- model = Text("🤖 " + self.settings.model, style="bold")
330
+ model = Text(self.settings.model, style="bold")
331
331
  if self.settings.reasoning_effort:
332
332
  model.append(f" · {self.settings.reasoning_effort}", style="dim")
333
333
  else:
334
- model = Text(tr("⚠ Модель не подключена — нажмите здесь"), style="bold yellow")
334
+ model = Text(tr("Модель не подключена — нажмите здесь"), style="bold yellow")
335
335
  s = self.session
336
336
  usage = Text(f"↑{_tokens(s.tokens_in)} ↓{_tokens(s.tokens_out)}", style="dim")
337
337
  if s.tokens_cached:
338
- usage.append(f" ⚡{_tokens(s.tokens_cached)}", style="green dim")
338
+ usage.append(f" · cache {_tokens(s.tokens_cached)}", style="green dim")
339
339
  cost_str = format_cost(estimate_cost(self.settings.model, s.tokens_in, s.tokens_out, s.tokens_cached))
340
340
  if cost_str:
341
341
  usage.append(f" {cost_str}", style="dim")
@@ -555,7 +555,7 @@ class AnixApp(App):
555
555
  if self._agent_busy:
556
556
  self._queued_prompts.append((text, None, images or None))
557
557
  preview = text[:60] + ("…" if len(text) > 60 else "")
558
- self._post_notice(Text(tr("⏳ Поставлено в очередь ({0}): {1}", len(self._queued_prompts), preview), style="dim"))
558
+ self._post_notice(Text(tr("В очереди ({0}): {1}", len(self._queued_prompts), preview), style="dim"))
559
559
  return
560
560
  self.run_agent(text, images=images or None)
561
561
 
@@ -717,13 +717,13 @@ class AnixApp(App):
717
717
  assistant = None
718
718
  self._refresh_bars()
719
719
  if ev.status == "running" and ev.round > 1:
720
- await chat.mount(Notice(Text(tr("🎯 Цель · раунд {0}/{1}", ev.round, ev.max_rounds), style="bold yellow")))
720
+ await chat.mount(Notice(Text(tr("Цель · раунд {0}/{1}", ev.round, ev.max_rounds), style="bold yellow")))
721
721
  elif ev.status == "complete":
722
- await chat.mount(Notice(Text(tr("🎯 Цель достигнута ({0}/{1})", ev.round, ev.max_rounds), style="bold green")))
722
+ await chat.mount(Notice(Text(tr("✓ Цель достигнута ({0}/{1})", ev.round, ev.max_rounds), style="bold green")))
723
723
  elif ev.status == "blocked":
724
- await chat.mount(Notice(Text(tr("🎯 Цель заблокирована ({0}/{1})", ev.round, ev.max_rounds), style="bold yellow")))
724
+ await chat.mount(Notice(Text(tr("Цель заблокирована ({0}/{1})", ev.round, ev.max_rounds), style="bold yellow")))
725
725
  elif ev.status == "limit":
726
- await chat.mount(Notice(Text(tr("🎯 Достигнут лимит раундов цели ({0})", ev.max_rounds), style="yellow")))
726
+ await chat.mount(Notice(Text(tr("Достигнут лимит раундов цели ({0})", ev.max_rounds), style="yellow")))
727
727
  elif isinstance(ev, StepFinished):
728
728
  self._refresh_bars()
729
729
  elif isinstance(ev, AgentError):
@@ -762,13 +762,13 @@ class AnixApp(App):
762
762
  if goal.lower() in ("stop", "cancel", "off"):
763
763
  if self._agent_busy and self.agent and self.agent.active_goal:
764
764
  self.action_interrupt()
765
- self.notify(tr("🎯 Режим цели остановлен"), timeout=2)
765
+ self.notify(tr("Режим цели остановлен"), timeout=2)
766
766
  else:
767
767
  self.notify(tr("Сейчас нет активной цели."), severity="warning")
768
768
  return
769
769
  if not goal:
770
770
  if self.agent and self.agent.active_goal:
771
- self._post_notice(Text(tr("🎯 Активная цель: {0}", self.agent.active_goal), style="bold yellow"))
771
+ self._post_notice(Text(tr("Активная цель: {0}", self.agent.active_goal), style="bold yellow"))
772
772
  else:
773
773
  self.notify(tr("Использование: /goal <описание цели> · /goal stop"), severity="warning")
774
774
  return
@@ -784,7 +784,7 @@ class AnixApp(App):
784
784
  if images:
785
785
  self._pending_images.clear()
786
786
  self._sync_attachments()
787
- self.run_agent(goal, display=f"🎯 /goal {goal}", images=images or None, goal_mode=True)
787
+ self.run_agent(goal, display=f"/goal {goal}", images=images or None, goal_mode=True)
788
788
 
789
789
  def action_btw(self, args: str = "") -> None:
790
790
  question = args.strip()
@@ -823,9 +823,9 @@ class AnixApp(App):
823
823
  pane.render_page(page)
824
824
  chip = self.query_one("#browser-chip", Chip)
825
825
  if page.url:
826
- chip.update(Text(" 🧭 " + (page.title or page.url)[:18] + " ", style="bold"))
826
+ chip.update(Text(" " + (page.title or page.url)[:20] + " ", style="bold"))
827
827
  else:
828
- chip.update(tr(" 🧭 Браузер "))
828
+ chip.update(tr(" Браузер "))
829
829
  except Exception:
830
830
  pass
831
831
 
@@ -843,7 +843,7 @@ class AnixApp(App):
843
843
  async def go() -> None:
844
844
  pane = self.query_one(BrowserPane)
845
845
  pane.display = True
846
- pane.meta.update(Text(tr("🧭 Загружаю {0}…", url), style="yellow"))
846
+ pane.meta.update(Text(tr("Загружаю {0}…", url), style="yellow"))
847
847
  try:
848
848
  await self._browser.open(url)
849
849
  except BrowserError as e:
@@ -884,7 +884,7 @@ class AnixApp(App):
884
884
 
885
885
  def action_skills(self) -> None:
886
886
  skills = discover_skills(self.project_root, self.config_base or config_dir())
887
- out = Text(tr("📚 Навыки (SKILL.md)\n"), style="bold")
887
+ out = Text(tr("Навыки (SKILL.md)\n"), style="bold")
888
888
  if not skills:
889
889
  out.append(tr(" Пока нет ни одного. Положите SKILL.md в .anixcode/skills/<имя>/SKILL.md"), style="dim")
890
890
  else:
@@ -1020,8 +1020,8 @@ class AnixApp(App):
1020
1020
  (tr("Режим"), ("PLAN" if self.agent and self.agent.mode == "plan" else "BUILD") + " · "
1021
1021
  + (tr("полный доступ") if self.settings.full_access else tr("спрашивать разрешение"))),
1022
1022
  (tr("Токены"), f"↑{_tokens(s.tokens_in)} ↓{_tokens(s.tokens_out)}"
1023
- + (f" ⚡{_tokens(s.tokens_cached)}" if s.tokens_cached else "")
1024
- + (" " + format_cost(estimate_cost(self.settings.model, s.tokens_in, s.tokens_out, s.tokens_cached))
1023
+ + (f" · cache {_tokens(s.tokens_cached)}" if s.tokens_cached else "")
1024
+ + (" · " + format_cost(estimate_cost(self.settings.model, s.tokens_in, s.tokens_out, s.tokens_cached))
1025
1025
  if format_cost(estimate_cost(self.settings.model, s.tokens_in, s.tokens_out, s.tokens_cached)) else "")),
1026
1026
  ]
1027
1027
  if self.agent:
@@ -1299,26 +1299,26 @@ class AnixApp(App):
1299
1299
  if isinstance(self.screen, QuickMenuScreen):
1300
1300
  return
1301
1301
  items = [
1302
- ("connect", tr("🤖 Подключить модель"), tr("выбрать провайдера, ключ и модель"), "Ctrl+O"),
1303
- ("project", tr("📂 Выбрать проект"), tr("открыть папку или склонировать с GitHub"), "Ctrl+P"),
1304
- ("init", tr("🔍 Изучить проект"), tr("агент разберёт код и создаст AGENTS.md"), "/init"),
1305
- ("goal", tr("🎯 Поставить цель"), tr("автономная работа до полной проверки"), "/goal"),
1306
- ("btw", tr("💬 Быстрый вопрос"), tr("спросить без изменения истории диалога"), "/btw"),
1307
- ("browser", tr("🧭 Встроенный браузер"), tr("открыть сайт/localhost прямо в окне"), "Ctrl+B"),
1308
- ("review", tr("🐛 Проверить изменения"), tr("поиск багов и рисков в текущем коде"), "/review"),
1309
- ("test", tr("🧪 Запустить тесты"), tr("найти тесты, прогнать и починить"), "/test"),
1310
- ("commit", tr("💾 Сделать коммит"), tr("подготовить и закоммитить изменения"), "/commit"),
1311
- ("undo", tr("↶ Откатить правки"), tr("вернуть файлы к состоянию до ответа"), "/undo"),
1312
- ("redo", tr("↷ Вернуть правки"), tr("повторить откаченные правки"), "/redo"),
1313
- ("mode", tr("✎ Режим Build / Plan"), tr("править код или только читать/планировать"), "Tab"),
1314
- ("permissions", tr("🔓 Полный доступ"), tr("включить/выключить запросы подтверждений"), "F2"),
1315
- ("image", tr("🖼 Вставить скриншот"), tr("прикрепить изображение из буфера обмена"), "Alt+V"),
1316
- ("sessions", tr("🕘 Прошлые сессии"), tr("вернуться к предыдущему диалогу"), "Ctrl+S"),
1317
- ("new", tr("✨ Новая сессия"), tr("начать чистый диалог в этом проекте"), "Ctrl+N"),
1318
- ("theme", tr("🎨 Выбрать тему"), tr("сменить цвета интерфейса с предпросмотром"), "Ctrl+T"),
1319
- ("language", tr("🌐 Сменить язык"), tr("переключить Русский / English"), "/language"),
1320
- ("doctor", tr("🩺 Проверка системы"), tr("проверить модель, git, ripgrep, браузер"), "/doctor"),
1321
- ("help", tr("❓ Справка"), tr("все горячие клавиши и команды"), "F1"),
1302
+ ("connect", tr("Подключить модель"), tr("выбрать провайдера, ключ и модель"), "Ctrl+O"),
1303
+ ("project", tr("Выбрать проект"), tr("открыть папку или склонировать с GitHub"), "Ctrl+P"),
1304
+ ("init", tr("Изучить проект"), tr("агент разберёт код и создаст AGENTS.md"), "/init"),
1305
+ ("goal", tr("Поставить цель"), tr("автономная работа до полной проверки"), "/goal"),
1306
+ ("btw", tr("Быстрый вопрос"), tr("спросить без изменения истории диалога"), "/btw"),
1307
+ ("browser", tr("Встроенный браузер"), tr("открыть сайт/localhost прямо в окне"), "Ctrl+B"),
1308
+ ("review", tr("Проверить изменения"), tr("поиск багов и рисков в текущем коде"), "/review"),
1309
+ ("test", tr("Запустить тесты"), tr("найти тесты, прогнать и починить"), "/test"),
1310
+ ("commit", tr("Сделать коммит"), tr("подготовить и закоммитить изменения"), "/commit"),
1311
+ ("undo", tr("Откатить правки"), tr("вернуть файлы к состоянию до ответа"), "/undo"),
1312
+ ("redo", tr("Вернуть правки"), tr("повторить откаченные правки"), "/redo"),
1313
+ ("mode", tr("Режим Build / Plan"), tr("править код или только читать/планировать"), "Tab"),
1314
+ ("permissions", tr("Полный доступ"), tr("включить/выключить запросы подтверждений"), "F2"),
1315
+ ("image", tr("Вставить скриншот"), tr("прикрепить изображение из буфера обмена"), "Alt+V"),
1316
+ ("sessions", tr("Прошлые сессии"), tr("вернуться к предыдущему диалогу"), "Ctrl+S"),
1317
+ ("new", tr("Новая сессия"), tr("начать чистый диалог в этом проекте"), "Ctrl+N"),
1318
+ ("theme", tr("Выбрать тему"), tr("сменить цвета интерфейса с предпросмотром"), "Ctrl+T"),
1319
+ ("language", tr("Сменить язык"), tr("переключить Русский / English"), "/language"),
1320
+ ("doctor", tr("Проверка системы"), tr("проверить модель, git, ripgrep, браузер"), "/doctor"),
1321
+ ("help", tr("Справка"), tr("все горячие клавиши и команды"), "F1"),
1322
1322
  ]
1323
1323
 
1324
1324
  def done(choice: str | None) -> None:
@@ -464,7 +464,7 @@ class QuickMenuScreen(ModalScreen[str | None]):
464
464
 
465
465
  def compose(self) -> ComposeResult:
466
466
  with Vertical(id="dialog"):
467
- yield Label(tr("☰ Быстрое меню действий"), classes="dialog-title")
467
+ yield Label(tr("Меню действий"), classes="dialog-title")
468
468
  yield Input(placeholder=tr("Поиск действия (например: браузер, цель, тест, тема, откат)…"), id="menu-search")
469
469
  yield OptionList(id="menu-list")
470
470
  yield Label(tr("↑↓ или клик — выбрать · Enter — выполнить · Esc — закрыть"), classes="hint")
@@ -25,7 +25,7 @@ _CMD_PREFIX = re.compile(r"^/([a-z0-9_-]*)$", re.IGNORECASE)
25
25
  TOOL_ICONS = {
26
26
  "read": "→", "ls": "▤", "glob": "⌕", "grep": "⌕",
27
27
  "edit": "✎", "multi_edit": "✎", "write": "✎", "bash": "$",
28
- "todo": "☑", "web_fetch": "🌐", "browser": "🧭", "subagent": "⚡",
28
+ "todo": "☐", "web_fetch": "↗", "browser": "◈", "subagent": "»",
29
29
  }
30
30
 
31
31
 
@@ -570,7 +570,7 @@ class TodoBar(Static):
570
570
  return
571
571
  done = sum(1 for x in items if x.get("status") == "done")
572
572
  out = Text()
573
- out.append(tr("☑ Задачи {0}/{1}", done, len(items)), style="bold")
573
+ out.append(tr("Задачи {0}/{1}", done, len(items)), style="bold")
574
574
  for item in items[:6]:
575
575
  st = item.get("status", "pending")
576
576
  mark, style = {"done": ("✓", "green dim"), "in_progress": ("◐", "bold yellow")}.get(st, ("○", "dim"))
@@ -593,7 +593,7 @@ class BrowserPane(Vertical):
593
593
  self._on_close = on_close
594
594
  self._on_click_link = on_click_link
595
595
  self.url_input = Input(placeholder="https://... / http://localhost:3000", id="browser-url")
596
- self.meta = Static(tr("🧭 Встроенный headless-браузер (без всплывающих окон)"), id="browser-meta")
596
+ self.meta = Static(tr("Встроенный браузер (headless)"), id="browser-meta")
597
597
  self.links_bar = Horizontal(id="browser-links")
598
598
  self.preview = Static("", id="browser-preview")
599
599
  self.body = Static("", id="browser-body")
@@ -619,7 +619,7 @@ class BrowserPane(Vertical):
619
619
  if page.url and self.url_input.value != page.url:
620
620
  self.url_input.value = page.url
621
621
  if not page.url:
622
- self.meta.update(Text(tr("🧭 Встроенный headless-браузер — введите адрес или /browser <url>"), style="dim"))
622
+ self.meta.update(Text(tr("Встроенный браузер — введите адрес или /browser <url>"), style="dim"))
623
623
  self.preview.update("")
624
624
  self.preview.display = False
625
625
  self.body.update(Text(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: anixcode
3
- Version: 0.12.0
3
+ Version: 0.12.1
4
4
  Summary: AI coding agent for the terminal. Bring your own API key.
5
5
  Author: an1zy
6
6
  License-Expression: MIT
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "anixcode"
3
- version = "0.12.0"
3
+ version = "0.12.1"
4
4
  description = "AI coding agent for the terminal. Bring your own API key."
5
5
  readme = "README.md"
6
6
  license = "MIT"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes