@brainervirus/workit-mcp 5.0.0 → 6.0.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brainervirus/workit-mcp",
3
- "version": "5.0.0",
3
+ "version": "6.0.1",
4
4
  "private": false,
5
5
  "description": "Workit shared MCP transport for the eight task and policy operation families",
6
6
  "keywords": [
@@ -42,7 +42,7 @@
42
42
  "build": "bun scripts/build.ts"
43
43
  },
44
44
  "dependencies": {
45
- "@brainervirus/workit-core": "^5.0.0",
45
+ "@brainervirus/workit-core": "^6.0.1",
46
46
  "@modelcontextprotocol/sdk": "1.32.0",
47
47
  "zod": "4.6.5"
48
48
  },
package/src/server.ts CHANGED
@@ -26,7 +26,7 @@ import {
26
26
  } from "@brainervirus/workit-core/src/core/boundary";
27
27
  import type { Host, Result } from "@brainervirus/workit-core/src/core/task-contract";
28
28
  import { redactSecrets } from "@brainervirus/workit-core/src/core/logger";
29
- import { readExternalContext } from "@brainervirus/workit-core/src/core/external-action-effects";
29
+ import { readExternalContext } from "@brainervirus/workit-core/src/core/context-read";
30
30
 
31
31
  export type McpHost = Extract<Host, "cursor" | "codex_cli" | "codex_desktop">;
32
32
  export type NativeContextProvider = { current(): Promise<OperationContext> };
@@ -58,12 +58,7 @@ type ContextKind = (typeof CONTEXT_KINDS)[number];
58
58
  const CONTEXT_SELECTORS = ["range", "issueId"] as const;
59
59
  const safeCapability = (value: string, allowed: readonly string[]): string =>
60
60
  allowed.includes(value) ? value : "context";
61
- const TOOL_CAPABILITIES = [
62
- ...CONTEXT_KINDS,
63
- "workspace",
64
- "native_caller_identity",
65
- "external_action",
66
- ];
61
+ const TOOL_CAPABILITIES = [...CONTEXT_KINDS, "workspace", "native_caller_identity"];
67
62
  const VERSION = (() => {
68
63
  try {
69
64
  const packageJson = JSON.parse(
@@ -388,7 +383,7 @@ export function createMcpServer(host: McpHost, contextProvider: NativeContextPro
388
383
  schemaVersion: 1,
389
384
  code: "capability_unavailable",
390
385
  error:
391
- "native caller identity is unavailable; run the workit CLI for mutations: node_modules/.bin/workit <family> <action> --json --confirm (bind a writer with --actor <session-id>)",
386
+ "native caller identity is unavailable; run the workit CLI for mutations: node_modules/.bin/workit <family> <action> --json",
392
387
  details: { capability: "native_caller_identity", operation: family },
393
388
  },
394
389
  workspaceRoot,