Память и сейф: первый публичный выпуск 1.0.0
This commit is contained in:
commit
85ecb086fb
16 changed files with 2811 additions and 0 deletions
6
locale/en.json
Normal file
6
locale/en.json
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"meta": {
|
||||
"title": "Memory & Vault",
|
||||
"description": "Agent memory and a password vault in one plugin. Notes live in a local SQLite base and are mirrored to PostgreSQL on the home server when it is reachable: every write goes to both databases, reads ask the server first, fall back to the local base on an empty answer, and backfill what they find. Passwords, tokens, and keys live separately in the memory_secrets table and never enter notes; the password manager with search, reveal (the value hides after 30 seconds), copy, add, edit, and delete opens in the plugin card (Plugins → Memory & Vault) and as the Passwords and keys tab in the right Start panel. The agent gets memory_save / memory_search / memory_list / memory_update / memory_forget / memory_migrate and secret_save / secret_list / secret_get / secret_forget tools, the /memory command (list, search, add, update, forget, secrets, migrate, status), and global rules in the system prompt: when to save, how to rewrite stale notes, what never to store, and how to handle credentials — look the credential up first, ask the user when it is missing and save it immediately, reveal a value only after warning that it will stay in the session log. Notes carry collections: personal (about the user), home-server (infrastructure), a project or site name, dsh (the harness itself). Search is indexed: FTS5 in SQLite and GIN indexes over word forms, trigrams, and tags in PostgreSQL. Storage settings (mode, host, port, database, user, password, fallback, recall, rules) are edited in the plugin card without a restart. Secret values are stored as plain text in both databases — prefer environment variables or $DSH_HOME/.env for automation."
|
||||
}
|
||||
}
|
||||
6
locale/ru.json
Normal file
6
locale/ru.json
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"meta": {
|
||||
"title": "Память и сейф",
|
||||
"description": "Долговременная память агента и хранилище паролей в одном плагине. Заметки живут в локальной SQLite и зеркалятся в PostgreSQL на домашнем сервере, когда он доступен: запись всегда идёт в обе базы, чтение сначала спрашивает сервер, при пустом ответе берёт локальную базу и досылает найденное на сервер. Пароли, токены и ключи лежат отдельно, в таблице memory_secrets, и не попадают в заметки; менеджер паролей с поиском, показом (значение скрывается через 30 секунд), копированием, добавлением, правкой и удалением открывается в карточке плагина (Plugins → Память и сейф) и вкладкой «Пароли и ключи» в правой панели «Старт». Агент получает инструменты memory_save / memory_search / memory_list / memory_update / memory_forget / memory_migrate и secret_save / secret_list / secret_get / secret_forget, команду /memory (list, search, add, update, forget, secrets, migrate, status) и глобальные правила в системном промпте: когда сохранять, как обновлять записи, чего не хранить и как обращаться с кредами — сначала искать в сейфе, при отсутствии спросить у пользователя и сразу сохранить, значение показывать только с предупреждением, что оно останется в логе сессии. Заметки размечены разделами: personal (о пользователе), home-server (инфраструктура), имя проекта или сайта, dsh (сам харнесс). Поиск индексирован: FTS5 в SQLite, GIN-индексы по словоформам, триграммам и тегам в PostgreSQL. Настройки хранилища (режим, хост, порт, база, пользователь, пароль, фолбэк, recall, правила) правятся в карточке плагина без перезапуска. Значения секретов хранятся в открытом виде в обеих базах — для автоматизации лучше передавать их через переменные окружения или $DSH_HOME/.env."
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue