zames_pro 2.29.15 → 2.31.0
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.
- package/dist/agent-loop.js +138 -12
- package/dist/browser.js +469 -169
- package/dist/commands.js +106 -2
- package/dist/compact.js +178 -0
- package/dist/config-menu.js +22 -5
- package/dist/config.js +52 -0
- package/dist/confirm.js +30 -6
- package/dist/context.js +3 -2
- package/dist/gitTools.js +3 -2
- package/dist/i18n.js +106 -8
- package/dist/index.js +223 -105
- package/dist/input.js +86 -11
- package/package.json +1 -1
package/dist/i18n.js
CHANGED
|
@@ -201,6 +201,14 @@ const CATALOG = {
|
|
|
201
201
|
ru: '/compact сжать историю и открыть новый чат с резюме',
|
|
202
202
|
en: '/compact compact the history and open a new chat with the summary',
|
|
203
203
|
},
|
|
204
|
+
'help.cmd.queue': {
|
|
205
|
+
ru: '/queue [clear] показать/очистить очередь сообщений',
|
|
206
|
+
en: '/queue [clear] list/clear the pending message queue',
|
|
207
|
+
},
|
|
208
|
+
'compact.auto_trigger': {
|
|
209
|
+
ru: '🗜️ Контекст заполнен на {pct}% ({tokens} токенов) — сжимаю историю и открываю новый чат...',
|
|
210
|
+
en: '🗜️ Context at {pct}% ({tokens} tokens) — compacting the history and opening a fresh chat...',
|
|
211
|
+
},
|
|
204
212
|
'compact.start': {
|
|
205
213
|
ru: '🗜️ Сжимаю историю чата (DeepSeek)...',
|
|
206
214
|
en: '🗜️ Compacting the chat history (DeepSeek)...',
|
|
@@ -213,6 +221,14 @@ const CATALOG = {
|
|
|
213
221
|
ru: 'Не удалось получить резюме от модели: {v}',
|
|
214
222
|
en: 'Could not get the summary from the model: {v}',
|
|
215
223
|
},
|
|
224
|
+
'compact.summary_retry': {
|
|
225
|
+
ru: 'Не удалось получить резюме ({v}). Повтор {attempt}/{max}...',
|
|
226
|
+
en: 'Could not get the summary ({v}). Retry {attempt}/{max}...',
|
|
227
|
+
},
|
|
228
|
+
'compact.summary_fallback': {
|
|
229
|
+
ru: 'Модель не смогла сделать резюме — переношу последние {v} сообщений диалога как есть.',
|
|
230
|
+
en: 'The model could not produce a summary — carrying the last {v} messages over as-is.',
|
|
231
|
+
},
|
|
216
232
|
'compact.done': {
|
|
217
233
|
ru: '✅ История сжата, открыт новый чат с резюме.',
|
|
218
234
|
en: '✅ History compacted, a new chat with the summary is open.',
|
|
@@ -433,6 +449,10 @@ const CATALOG = {
|
|
|
433
449
|
en: 'Unknown command: {v}. Type /help.',
|
|
434
450
|
},
|
|
435
451
|
'msg.bye': { ru: 'Выход.', en: 'Bye.' },
|
|
452
|
+
'msg.exit_summary': {
|
|
453
|
+
ru: 'Транскрипт: {transcript} · чат: {chat}',
|
|
454
|
+
en: 'Transcript: {transcript} · chat: {chat}',
|
|
455
|
+
},
|
|
436
456
|
'msg.abort_gen': {
|
|
437
457
|
ru: '⏹ Esc — прерываю генерацию...',
|
|
438
458
|
en: '⏹ Esc — aborting generation...',
|
|
@@ -443,12 +463,12 @@ const CATALOG = {
|
|
|
443
463
|
},
|
|
444
464
|
'msg.queued': { ru: '📨 В очередь ({n}): ', en: '📨 Queued ({n}): ' },
|
|
445
465
|
'msg.attached_image': {
|
|
446
|
-
ru: '🖼 Вложено изображение {marker} ({size}) —
|
|
447
|
-
en: '🖼 Attached image {marker} ({size}) —
|
|
466
|
+
ru: '🖼 Вложено изображение {marker} ({size}) — {path}',
|
|
467
|
+
en: '🖼 Attached image {marker} ({size}) — {path}',
|
|
448
468
|
},
|
|
449
469
|
'msg.attached_file': {
|
|
450
|
-
ru: '📎 Вложен файл {marker} {name} ({size}) —
|
|
451
|
-
en: '📎 Attached file {marker} {name} ({size}) —
|
|
470
|
+
ru: '📎 Вложен файл {marker} {name} ({size}) — {path}',
|
|
471
|
+
en: '📎 Attached file {marker} {name} ({size}) — {path}',
|
|
452
472
|
},
|
|
453
473
|
'msg.clip_empty': {
|
|
454
474
|
ru: '⚠ В буфере обмена нет картинки (проверено: {via}).',
|
|
@@ -462,13 +482,47 @@ const CATALOG = {
|
|
|
462
482
|
ru: ' Похоже, вы в контейнере/Dev Container: клипборд Windows отсюда недоступен. Вставьте путь к файлу (например tmp/pic.png) — он приложится к сообщению.',
|
|
463
483
|
en: ' Looks like a container/Dev Container: the Windows clipboard is not reachable from here. Paste a path to a file (e.g. tmp/pic.png) — it will be attached to the message.',
|
|
464
484
|
},
|
|
485
|
+
'msg.task_summary': {
|
|
486
|
+
ru: '· задача: {sec}с · инструментов: {tools}',
|
|
487
|
+
en: '· task: {sec}s · tools: {tools}',
|
|
488
|
+
},
|
|
465
489
|
'msg.from_queue': { ru: '▶ Из очереди: ', en: '▶ From queue: ' },
|
|
490
|
+
'msg.from_queue_batch': {
|
|
491
|
+
ru: '▶ Из очереди ({n} сообщ.): ',
|
|
492
|
+
en: '▶ From queue ({n} messages): ',
|
|
493
|
+
},
|
|
494
|
+
'msg.batch_joined': {
|
|
495
|
+
ru: 'объединил {n} сообщений в одну задачу',
|
|
496
|
+
en: 'merged {n} messages into one task',
|
|
497
|
+
},
|
|
498
|
+
'msg.queue_title': { ru: 'Очередь сообщений:', en: 'Pending messages:' },
|
|
499
|
+
'msg.queue_empty': { ru: 'Очередь пуста.', en: 'The queue is empty.' },
|
|
500
|
+
'msg.queue_cleared': { ru: 'Очередь очищена.', en: 'Queue cleared.' },
|
|
501
|
+
'msg.queue_item': { ru: '{n}. {text}', en: '{n}. {text}' },
|
|
502
|
+
'msg.queue_usage': {
|
|
503
|
+
ru: 'Использование: /queue [clear]',
|
|
504
|
+
en: 'Usage: /queue [clear]',
|
|
505
|
+
},
|
|
506
|
+
'msg.queue_cleared_hint': {
|
|
507
|
+
ru: 'Очистить: /queue clear',
|
|
508
|
+
en: 'Clear: /queue clear',
|
|
509
|
+
},
|
|
466
510
|
'msg.agent_error': { ru: '✖ Ошибка агента:', en: '✖ Agent error:' },
|
|
467
511
|
'msg.suspicious_stop': {
|
|
468
512
|
ru: 'агент, похоже, остановился, не распознав вызов инструмента. Ответ сохранён в транскрипте (событие suspicious_final). Можно попросить продолжить или переотправить задачу.',
|
|
469
513
|
en: 'the agent seems to have stopped without recognizing a tool call. The response is saved in the transcript (suspicious_final event). You can ask it to continue or resend the task.',
|
|
470
514
|
},
|
|
471
515
|
'msg.critical': { ru: 'Критическая ошибка:', en: 'Critical error:' },
|
|
516
|
+
'msg.error': { ru: 'Ошибка:', en: 'Error:' },
|
|
517
|
+
'confirm.hint': {
|
|
518
|
+
ru: 'всегда для этого типа',
|
|
519
|
+
en: 'always for this kind',
|
|
520
|
+
},
|
|
521
|
+
'confirm.ask_label': { ru: 'Разрешить', en: 'Allow' },
|
|
522
|
+
'msg.reloaded': {
|
|
523
|
+
ru: 'Перезагружено модулей: {n}. Браузер и чат не тронуты.',
|
|
524
|
+
en: 'Modules reloaded: {n}. Browser and chat untouched.',
|
|
525
|
+
},
|
|
472
526
|
'msg.not_dir': { ru: 'Не директория: {v}', en: 'Not a directory: {v}' },
|
|
473
527
|
'prompt.review': { ru: 'REVIEW', en: 'REVIEW' },
|
|
474
528
|
'msg.workdir_error': {
|
|
@@ -504,6 +558,10 @@ const CATALOG = {
|
|
|
504
558
|
ru: '⏹ Esc — прерываю генерацию...',
|
|
505
559
|
en: '⏹ Esc — aborting generation...',
|
|
506
560
|
},
|
|
561
|
+
'msg.abort_tool_short': {
|
|
562
|
+
ru: '⏹ Ctrl+C — прерываю текущий инструмент (ещё раз — стоп всему прогону)...',
|
|
563
|
+
en: '⏹ Ctrl+C — aborting the current tool (press again to stop the whole run)...',
|
|
564
|
+
},
|
|
507
565
|
'msg.abort_ctrlc_short': {
|
|
508
566
|
ru: '⏹ Ctrl+C — прерываю генерацию...',
|
|
509
567
|
en: '⏹ Ctrl+C — aborting generation...',
|
|
@@ -530,8 +588,8 @@ const CATALOG = {
|
|
|
530
588
|
en: '✖ DeepSeek: the server did not respond after {attempt} retries. Try again later.',
|
|
531
589
|
},
|
|
532
590
|
'ds.ask_retry': {
|
|
533
|
-
ru: '⚠
|
|
534
|
-
en: '⚠
|
|
591
|
+
ru: '⚠ Отправка не удалась (попытка {attempt}/{max} на этот запрос): {error} — повторяю...',
|
|
592
|
+
en: '⚠ Send failed (attempt {attempt}/{max} for this request): {error} — retrying...',
|
|
535
593
|
},
|
|
536
594
|
'ds.incomplete_retry': {
|
|
537
595
|
ru: '⏳ DeepSeek оборвал ответ и кнопки Continue нет — переотправляю задачу ({attempt}/{max})...',
|
|
@@ -581,9 +639,13 @@ const CATALOG = {
|
|
|
581
639
|
ru: '✖ Новый ответ не получен — на странице остался прежний текст. Возможно, сообщение не отправилось. Проверь чат DeepSeek вручную.',
|
|
582
640
|
en: '✖ No new answer received — the page still shows the previous text. The message may not have been sent. Check the DeepSeek chat manually.',
|
|
583
641
|
},
|
|
642
|
+
'ds.continue_clicked': {
|
|
643
|
+
ru: '▶ Нажал «Continue» (DeepSeek приостановил вывод — возобновляю).',
|
|
644
|
+
en: '▶ Clicked "Continue" (DeepSeek paused the output — resuming).',
|
|
645
|
+
},
|
|
584
646
|
'ds.answer_timeout': {
|
|
585
|
-
ru: '⏳ DeepSeek не ответил за {sec}с — повторяю запрос...',
|
|
586
|
-
en: '⏳ DeepSeek did not answer within {sec}s — retrying the request...',
|
|
647
|
+
ru: '⏳ DeepSeek не ответил за {sec}с ({attempt}/{max}) — повторяю запрос...',
|
|
648
|
+
en: '⏳ DeepSeek did not answer within {sec}s ({attempt}/{max}) — retrying the request...',
|
|
587
649
|
},
|
|
588
650
|
'ds.answer_timeout_give_up': {
|
|
589
651
|
ru: '✖ DeepSeek перестал отвечать, лимит повторов исчерпан. Модель не дала ответа — проверь чат DeepSeek вручную.',
|
|
@@ -660,10 +722,18 @@ const CATALOG = {
|
|
|
660
722
|
en: '\nUse /resume <n> to continue.\n',
|
|
661
723
|
},
|
|
662
724
|
'chats.none': { ru: 'Чатов не найдено.', en: 'No chats found.' },
|
|
725
|
+
'chats.none_hint': {
|
|
726
|
+
ru: 'Чатов не найдено. Возможно, сайдбар свёрнут или селекторы устарели.',
|
|
727
|
+
en: 'No chats found. The sidebar may be collapsed or the selectors are outdated.',
|
|
728
|
+
},
|
|
663
729
|
'chats.fetch_error': {
|
|
664
730
|
ru: 'Не удалось получить список:',
|
|
665
731
|
en: 'Failed to fetch the list:',
|
|
666
732
|
},
|
|
733
|
+
'chats.prompt_no_resend': {
|
|
734
|
+
ru: ' Системный промпт НЕ пересылается (он уже в начале чата). Включить: /config set browser.resendPromptOnResume true.\n',
|
|
735
|
+
en: ' The system prompt is NOT resent (it is already at the start of the chat). Enable: /config set browser.resendPromptOnResume true.\n',
|
|
736
|
+
},
|
|
667
737
|
'chats.resume_usage': {
|
|
668
738
|
ru: 'Использование: /resume <n> (или /chats для списка)',
|
|
669
739
|
en: 'Usage: /resume <n> (or /chats for the list)',
|
|
@@ -695,6 +765,10 @@ const CATALOG = {
|
|
|
695
765
|
},
|
|
696
766
|
'chats.not_created': { ru: 'Чат ещё не создан.', en: 'No chat created yet.' },
|
|
697
767
|
'chats.history_title': { ru: 'Диалог чата:', en: 'Chat dialogue:' },
|
|
768
|
+
'chats.history_near_limit': {
|
|
769
|
+
ru: '⚠ Контекст чата заполнен на {pct}% — рекомендую /compact.',
|
|
770
|
+
en: '⚠ The chat context is {pct}% full — /compact is recommended.',
|
|
771
|
+
},
|
|
698
772
|
'chats.history_tokens': {
|
|
699
773
|
ru: 'Контекст чата: ~{v} токенов',
|
|
700
774
|
en: 'Chat context: ~{v} tokens',
|
|
@@ -813,6 +887,10 @@ const CATALOG = {
|
|
|
813
887
|
'cfg.group.undo': { ru: 'Откат (undo)', en: 'Undo' },
|
|
814
888
|
'cfg.group.transcript': { ru: 'Транскрипт', en: 'Transcript' },
|
|
815
889
|
'cfg.group.browser': { ru: 'Браузер / DeepSeek', en: 'Browser / DeepSeek' },
|
|
890
|
+
'cfg.f.ui_contextLimit': {
|
|
891
|
+
ru: 'Размер контекста (токены)',
|
|
892
|
+
en: 'Context window (tokens)',
|
|
893
|
+
},
|
|
816
894
|
'cfg.f.ui_locale': {
|
|
817
895
|
ru: 'Язык интерфейса и ответов агента',
|
|
818
896
|
en: 'Interface and agent reply language',
|
|
@@ -898,6 +976,26 @@ const CATALOG = {
|
|
|
898
976
|
ru: 'Автонажатие кнопки Continue (режим размышления)',
|
|
899
977
|
en: 'Auto-click Continue (reasoning mode)',
|
|
900
978
|
},
|
|
979
|
+
'cfg.f.browser_autoCompact': {
|
|
980
|
+
ru: 'Авто-сжатие контекста',
|
|
981
|
+
en: 'Auto-compact the context',
|
|
982
|
+
},
|
|
983
|
+
'cfg.f.browser_autoCompactPct': {
|
|
984
|
+
ru: 'Порог авто-сжатия (%)',
|
|
985
|
+
en: 'Auto-compact threshold (%)',
|
|
986
|
+
},
|
|
987
|
+
'cfg.f.browser_askDeadlineMs': {
|
|
988
|
+
ru: 'Watchdog-таймаут ask (мс)',
|
|
989
|
+
en: 'ask() watchdog deadline (ms)',
|
|
990
|
+
},
|
|
991
|
+
'cfg.f.browser_maxAfterToolRetries': {
|
|
992
|
+
ru: 'Повторов после таймаута',
|
|
993
|
+
en: 'Retries after a timeout',
|
|
994
|
+
},
|
|
995
|
+
'cfg.f.browser_continueMinGapMs': {
|
|
996
|
+
ru: 'Мин. пауза перед нажатием Continue, мс',
|
|
997
|
+
en: 'Min gap before a Continue click, ms',
|
|
998
|
+
},
|
|
901
999
|
'cfg.f.browser_resendPromptOnResume': {
|
|
902
1000
|
ru: 'Пересылать системный промпт при возобновлении чата',
|
|
903
1001
|
en: 'Resend the system prompt on chat resume',
|