@workit-dev/mcp 2.14.0 → 2.16.0
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/dist/index.js +10 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -29458,6 +29458,10 @@ function findExecutable(bin, env) {
|
|
|
29458
29458
|
var TIMEOUT_MS = 60000;
|
|
29459
29459
|
var YTRACK_EXIT = { ok: 0, failed: 1, cancelled: 2, auth: 4 };
|
|
29460
29460
|
var findYtrack = (env) => env.WORKIT_NO_YTRACK === "1" ? null : findExecutable("ytrack", env);
|
|
29461
|
+
var YTRACK_QUIET_ENV = {
|
|
29462
|
+
YTRACK_NO_UPDATE_NOTIFIER: "1",
|
|
29463
|
+
YTRACK_NO_AUTO_UPGRADE: "1"
|
|
29464
|
+
};
|
|
29461
29465
|
function ytrackRunner(env, host, timeoutMs = TIMEOUT_MS) {
|
|
29462
29466
|
return (args, input) => {
|
|
29463
29467
|
const exe = findYtrack(env);
|
|
@@ -29465,7 +29469,12 @@ function ytrackRunner(env, host, timeoutMs = TIMEOUT_MS) {
|
|
|
29465
29469
|
return { status: null, stdout: "", stderr: "", missing: true };
|
|
29466
29470
|
const result = spawnSync19(exe, args, {
|
|
29467
29471
|
encoding: "utf8",
|
|
29468
|
-
env: {
|
|
29472
|
+
env: {
|
|
29473
|
+
...env,
|
|
29474
|
+
NO_COLOR: "1",
|
|
29475
|
+
...YTRACK_QUIET_ENV,
|
|
29476
|
+
...host ? { YTRACK_HOST: host } : {}
|
|
29477
|
+
},
|
|
29469
29478
|
timeout: timeoutMs,
|
|
29470
29479
|
killSignal: "SIGKILL",
|
|
29471
29480
|
windowsHide: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workit-dev/mcp",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.16.0",
|
|
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.0",
|
|
47
|
-
"@workit-dev/core": "^2.
|
|
47
|
+
"@workit-dev/core": "^2.16.0",
|
|
48
48
|
"zod": "4.6.5"
|
|
49
49
|
},
|
|
50
50
|
"engines": {
|