Add repository metadata and package AI skill

This commit is contained in:
Sergey Chernov 2026-08-19 19:28:21 +04:00
parent f9cde641af
commit 8799cee0ca
6 changed files with 35 additions and 6 deletions

View File

@ -80,11 +80,17 @@ legacy links.
## AI agents ## AI agents
The npm package includes a compact skill at `skill/crypstie/SKILL.md`. Point an The npm package includes a compact skill at `skills/crypstie/SKILL.md`. Point an
agent's skill loader at that directory, or copy the `skill/crypstie` folder into agent's skill loader at that directory, or copy the `skills/crypstie` folder into
its skills directory. The skill uses the CLI and keeps secret links out of its its skills directory. The skill uses the CLI and keeps secret links out of its
written responses whenever possible. written responses whenever possible.
After a local install, the skill is available at:
```text
node_modules/crypstie/skills/crypstie
```
## Development ## Development
```shell ```shell
@ -107,6 +113,8 @@ CRYPSTIE_LIVE_WRITE=1 npm test
Russian documentation: [docs/README.ru.md](docs/README.ru.md). Russian documentation: [docs/README.ru.md](docs/README.ru.md).
Source code and issues: [SergeychWorks/crypstie3-node](https://gitea.sergeych.net/SergeychWorks/crypstie3-node).
## Authors ## Authors
- **sergeych** — Crypstie protocol, service, and original implementations - **sergeych** — Crypstie protocol, service, and original implementations

View File

@ -55,6 +55,17 @@ console.log(opened.text);
Точные исходные байты находятся в `opened.data`, а `opened.text` является их Точные исходные байты находятся в `opened.data`, а `opened.text` является их
представлением в UTF-8. представлением в UTF-8.
## Использование как AI-навыка
Готовый навык находится в `skills/crypstie`. После локальной установки npm:
```text
node_modules/crypstie/skills/crypstie
```
Эту папку можно передать загрузчику навыков агента или скопировать в его каталог
skills. Навык использует CLI и напоминает не раскрывать полные секретные ссылки.
## Модель безопасности ## Модель безопасности
- Случайный 256-битный ключ создаётся локально. - Случайный 256-битный ключ создаётся локально.
@ -63,6 +74,8 @@ console.log(opened.text);
- Ключ находится после `#` и не передаётся в HTTP-запросе. - Ключ находится после `#` и не передаётся в HTTP-запросе.
- Не помещайте полные ссылки в публичные логи, задачи и сообщения. - Не помещайте полные ссылки в публичные логи, задачи и сообщения.
Исходный код и задачи: [SergeychWorks/crypstie3-node](https://gitea.sergeych.net/SergeychWorks/crypstie3-node).
## Авторы ## Авторы
- **sergeych** — протокол и сервис Crypstie, первоначальные реализации - **sergeych** — протокол и сервис Crypstie, первоначальные реализации

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "crypstie", "name": "crypstie",
"version": "0.1.0", "version": "0.1.1",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "crypstie", "name": "crypstie",
"version": "0.1.0", "version": "0.1.1",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"unicrypto": "^1.14.1" "unicrypto": "^1.14.1"

View File

@ -1,8 +1,16 @@
{ {
"name": "crypstie", "name": "crypstie",
"version": "0.1.0", "version": "0.1.1",
"description": "Create and open end-to-end encrypted Crypstie links from Node.js and the command line", "description": "Create and open end-to-end encrypted Crypstie links from Node.js and the command line",
"author": "sergeych", "author": "sergeych",
"repository": {
"type": "git",
"url": "git+ssh://git@gitea.sergeych.net:2291/SergeychWorks/crypstie3-node.git"
},
"homepage": "https://gitea.sergeych.net/SergeychWorks/crypstie3-node",
"bugs": {
"url": "https://gitea.sergeych.net/SergeychWorks/crypstie3-node/issues"
},
"type": "commonjs", "type": "commonjs",
"main": "src/index.js", "main": "src/index.js",
"exports": "./src/index.js", "exports": "./src/index.js",
@ -11,7 +19,7 @@
}, },
"files": [ "files": [
"src/", "src/",
"skill/", "skills/",
"docs/", "docs/",
"README.md", "README.md",
"LICENSE" "LICENSE"