@ignission/slack-task-mcp 0.2.5 → 0.2.6

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 (2) hide show
  1. package/package.json +9 -10
  2. package/src/index.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignission/slack-task-mcp",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "MCP Server for Slack task management with Claude Code",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -30,14 +30,6 @@
30
30
  ],
31
31
  "author": "Ignission G.K.",
32
32
  "license": "MIT",
33
- "packageManager": "pnpm@10.26.0",
34
- "scripts": {
35
- "lint": "biome lint .",
36
- "format": "biome format --write .",
37
- "check": "biome check --write .",
38
- "test": "vitest",
39
- "test:run": "vitest run"
40
- },
41
33
  "dependencies": {
42
34
  "@anthropic-ai/claude-agent-sdk": "^0.1.76",
43
35
  "@modelcontextprotocol/sdk": "^1.25.1",
@@ -48,5 +40,12 @@
48
40
  "devDependencies": {
49
41
  "@biomejs/biome": "^2.3.11",
50
42
  "vitest": "^4.0.16"
43
+ },
44
+ "scripts": {
45
+ "lint": "biome lint .",
46
+ "format": "biome format --write .",
47
+ "check": "biome check --write .",
48
+ "test": "vitest",
49
+ "test:run": "vitest run"
51
50
  }
52
- }
51
+ }
package/src/index.js CHANGED
@@ -697,7 +697,7 @@ function formatAnalysisResult(analysis) {
697
697
 
698
698
  server.tool(
699
699
  "analyze_request",
700
- "Slackスレッドの依頼をAgent SDKで分析し、目的・不明点・確認メッセージ案・ネクストアクションを構造化して返す",
700
+ "Slackスレッドの依頼をAgent SDKで分析し、目的・不明点・確認メッセージ案・ネクストアクションを構造化して返す。結果を元にユーザーに選択肢を提示する場合は、テキストではなくAskUserQuestionツールを使って選択UIを表示すること",
701
701
  {
702
702
  thread_content: z.string().describe("分析対象のSlackスレッド内容(get_slack_threadの出力)"),
703
703
  thread_url: z.string().optional().describe("SlackスレッドのURL(参照用)"),
@@ -829,7 +829,7 @@ function formatEditedReply(draftText, editedReply) {
829
829
 
830
830
  server.tool(
831
831
  "draft_reply",
832
- "返信の下書きをAgent SDKで添削し、結論→根拠→アクションの構造に整理して返す",
832
+ "返信の下書きをAgent SDKで添削し、結論→根拠→アクションの構造に整理して返す。ユーザーに確認や選択を求める場合は、テキストではなくAskUserQuestionツールを使って選択UIを表示すること",
833
833
  {
834
834
  draft_text: z.string().max(2000).describe("添削対象の下書きテキスト"),
835
835
  task_type: TaskTypeSchema.optional().describe("タスクタイプ(省略時は自動判定)"),