integram-mcp 0.7.107 → 0.7.109
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/README.md +6 -5
- package/index.js +6 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/integram-mcp)
|
|
4
4
|
|
|
5
|
-
MCP-сервер для Integram — даёт доступ к
|
|
5
|
+
MCP-сервер для Integram — даёт доступ к 771 инструментам (таблицы, документы, отчёты, автоматизации, портал, Telegram-боты, граф знаний и т.д.) из Claude Code, Claude Desktop и Cursor.
|
|
6
6
|
|
|
7
7
|
Работает с облачным Integram на **ai2o.online** или с локальным сервером.
|
|
8
8
|
|
|
@@ -15,7 +15,7 @@ claude mcp add integram \
|
|
|
15
15
|
-e INTEGRAM_URL=https://ai2o.online \
|
|
16
16
|
-e INTEGRAM_EMAIL=you@example.com \
|
|
17
17
|
-e INTEGRAM_PASSWORD=secret \
|
|
18
|
-
-- npx -y integram-mcp@0.7.
|
|
18
|
+
-- npx -y integram-mcp@0.7.109
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
Ставить ничего не нужно: `npx` скачает пакет сам.
|
|
@@ -43,7 +43,7 @@ claude mcp add integram \
|
|
|
43
43
|
-e INTEGRAM_URL=http://localhost:8081 \
|
|
44
44
|
-e INTEGRAM_EMAIL=you@example.com \
|
|
45
45
|
-e INTEGRAM_PASSWORD=secret \
|
|
46
|
-
-- npx -y integram-mcp@0.7.
|
|
46
|
+
-- npx -y integram-mcp@0.7.109
|
|
47
47
|
```
|
|
48
48
|
|
|
49
49
|
Удалить: `claude mcp remove integram`
|
|
@@ -57,7 +57,7 @@ claude mcp add integram \
|
|
|
57
57
|
"mcpServers": {
|
|
58
58
|
"integram": {
|
|
59
59
|
"command": "npx",
|
|
60
|
-
"args": ["-y", "integram-mcp@0.7.
|
|
60
|
+
"args": ["-y", "integram-mcp@0.7.109"],
|
|
61
61
|
"env": {
|
|
62
62
|
"INTEGRAM_URL": "https://ai2o.online",
|
|
63
63
|
"INTEGRAM_EMAIL": "you@example.com",
|
|
@@ -77,7 +77,7 @@ claude mcp add integram \
|
|
|
77
77
|
"mcpServers": {
|
|
78
78
|
"integram": {
|
|
79
79
|
"command": "npx",
|
|
80
|
-
"args": ["-y", "integram-mcp@0.7.
|
|
80
|
+
"args": ["-y", "integram-mcp@0.7.109"],
|
|
81
81
|
"env": {
|
|
82
82
|
"INTEGRAM_URL": "https://ai2o.online",
|
|
83
83
|
"INTEGRAM_EMAIL": "you@example.com",
|
|
@@ -199,6 +199,7 @@ claude mcp add integram -e INTEGRAM_URL=... -e INTEGRAM_EMAIL=... -e INTEGRAM_PA
|
|
|
199
199
|
| **normalizer** | Разбор документов: запуск, состояние, подтверждение сопоставления | 3 |
|
|
200
200
|
| **timeseries** | Временные ряды: запись, запрос, список источников | 3 |
|
|
201
201
|
| **lookups** | Справочники: варианты для dropdown/ref | 2 |
|
|
202
|
+
| **workflows** | Событийные процессы (ADR-036): состояние и биография объекта, запись события в append-only журнал | 2 |
|
|
202
203
|
<!-- END:tool-groups -->
|
|
203
204
|
|
|
204
205
|
Core активна сразу (20 tools). Остальные — через `search_tools`.
|
package/index.js
CHANGED
|
@@ -1438,6 +1438,9 @@ export const EN_DESCRIPTIONS = {
|
|
|
1438
1438
|
meetings_status: 'Meeting conveyor status for the workspace: saved config and installed meetings: * automations. Returns: {configured, config, automations:[{id,name,active}]}.',
|
|
1439
1439
|
meetings_setup: 'Install or update the meeting conveyor (requires confirmation): creates/updates the meetings: intake and meetings: protocol automations from config. Idempotent on repeated calls (upsert by name). Column aliases must match real column names byte-for-byte; the meetings table must have all 8 meet.cols columns (including record), the messages table all 12 tg.cols (including Транскрипт). Returns: {created, updated, message}.',
|
|
1440
1440
|
meetings_teardown: 'Deactivate the meeting conveyor automations (every meetings: * name, requires confirmation). The workspace config is kept. Returns: {deactivated, message}.',
|
|
1441
|
+
// Workflows (event-sourced processes, ADR-036)
|
|
1442
|
+
workflow_get_state: 'State and biography of an object in an event-sourced process: current event, terminal flag, available transitions (blocked + reason from gates), and the event history. Pure read of the journal and spec — adjacency/gate/role/terminal are enforced by the server on write. Returns: { process, objectId, current, terminal, started, available: [{ key, title, blocked, reason? }], history: [{ id, key, actor, seq, occurred_at, fields, cause_id }] }.',
|
|
1443
|
+
workflow_record_event: 'Append an event to a process journal (append-only, ADR-036; requires confirmation). The server validates adjacency, gates, roles and terminal state: non-adjacent or terminal write → 422 SPEC_INVALID, lost race → 409 CONCURRENCY (refresh expectedSeq). Call workflow_get_state first. Returns the inserted journal row.',
|
|
1441
1444
|
// Meta-KB
|
|
1442
1445
|
mk_revoke_entity: 'Revoke all knowledge base entities derived from a specified decision. Use when a decision was found to be incorrect. Returns { revoked: number, message: string }.',
|
|
1443
1446
|
mk_list_debates: 'List recent expert debates in the workspace. Returns { debates: Array, total: number }. Each debate has id, question, consensus, verdict, created_by, created_at.',
|
|
@@ -2443,10 +2446,11 @@ async function handleConfirmAction(approved, confirmId) {
|
|
|
2443
2446
|
msg = 'Action rejected.';
|
|
2444
2447
|
}
|
|
2445
2448
|
} else {
|
|
2446
|
-
// Backend HITL — proxy to /mcp-resume
|
|
2447
|
-
|
|
2449
|
+
// Backend HITL — proxy to /mcp-resume. ensureAuth под общим try:
|
|
2450
|
+
// отказ авторизации тоже возвращает ожидание в очередь (TD-213).
|
|
2448
2451
|
let data;
|
|
2449
2452
|
try {
|
|
2453
|
+
await ensureAuth();
|
|
2450
2454
|
data = await apiFetch(`/api/v2/${workspace}/ai/mcp-resume`, {
|
|
2451
2455
|
method: 'POST',
|
|
2452
2456
|
body: JSON.stringify({ threadId: pending.threadId, approved }),
|
package/package.json
CHANGED