integram-mcp 0.7.107 → 0.7.108

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 (3) hide show
  1. package/README.md +4 -4
  2. package/index.js +3 -2
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -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.107
18
+ -- npx -y integram-mcp@0.7.108
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.107
46
+ -- npx -y integram-mcp@0.7.108
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.107"],
60
+ "args": ["-y", "integram-mcp@0.7.108"],
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.107"],
80
+ "args": ["-y", "integram-mcp@0.7.108"],
81
81
  "env": {
82
82
  "INTEGRAM_URL": "https://ai2o.online",
83
83
  "INTEGRAM_EMAIL": "you@example.com",
package/index.js CHANGED
@@ -2443,10 +2443,11 @@ async function handleConfirmAction(approved, confirmId) {
2443
2443
  msg = 'Action rejected.';
2444
2444
  }
2445
2445
  } else {
2446
- // Backend HITL — proxy to /mcp-resume
2447
- await ensureAuth();
2446
+ // Backend HITL — proxy to /mcp-resume. ensureAuth под общим try:
2447
+ // отказ авторизации тоже возвращает ожидание в очередь (TD-213).
2448
2448
  let data;
2449
2449
  try {
2450
+ await ensureAuth();
2450
2451
  data = await apiFetch(`/api/v2/${workspace}/ai/mcp-resume`, {
2451
2452
  method: 'POST',
2452
2453
  body: JSON.stringify({ threadId: pending.threadId, approved }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "integram-mcp",
3
- "version": "0.7.107",
3
+ "version": "0.7.108",
4
4
  "type": "module",
5
5
  "description": "MCP server for Integram — connect AI assistants to your workspace via Model Context Protocol",
6
6
  "mcpName": "io.github.judas-priest/integram",