@workit-dev/mcp 2.27.1 → 2.27.4

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/dist/index.js +4 -6
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -25946,15 +25946,13 @@ function sessionTrust(cwd, row) {
25946
25946
  const session = row.actor.session;
25947
25947
  if (!session || row.self === true)
25948
25948
  return null;
25949
+ const binding = session.includes(":") ? issuedBinding(cwd, session) : null;
25950
+ if (binding === "token" && row.sessionBound !== true)
25951
+ return "unbound_session";
25949
25952
  const source = typeof row.sessionSource === "string" ? row.sessionSource : "env";
25950
25953
  const host = row.actor.host;
25951
25954
  const issuedOnly = source === "flag" ? host !== "cli" : source === "env" && session.includes(":") && !SHELL_VOUCHED_HOSTS.has(host);
25952
- if (!issuedOnly)
25953
- return null;
25954
- const binding = issuedBinding(cwd, session);
25955
- if (binding === null)
25956
- return "unissued_session";
25957
- return binding === "token" && row.sessionBound !== true ? "unbound_session" : null;
25955
+ return issuedOnly && binding === null ? "unissued_session" : null;
25958
25956
  }
25959
25957
  function trustReasons(cwd, row) {
25960
25958
  if (row.integrity === "unverified")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workit-dev/mcp",
3
- "version": "2.27.1",
3
+ "version": "2.27.4",
4
4
  "private": false,
5
5
  "description": "Workit shared MCP transport for the eight task and policy operation families",
6
6
  "keywords": [
@@ -44,7 +44,7 @@
44
44
  },
45
45
  "dependencies": {
46
46
  "@modelcontextprotocol/sdk": "1.32.2",
47
- "@workit-dev/core": "^2.27.1",
47
+ "@workit-dev/core": "^2.27.4",
48
48
  "zod": "4.6.7"
49
49
  },
50
50
  "engines": {