@workit-dev/mcp 1.9.3 → 1.11.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 +3 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -29281,7 +29281,7 @@ var ytrackDetail = (out) => out.stderr.trim().split(`
|
|
|
29281
29281
|
var YTRACK_MISSING = "ytrack is not on PATH: Workit reaches YouTrack only through ytrack";
|
|
29282
29282
|
|
|
29283
29283
|
// packages/workit-core/src/core/youtrack.ts
|
|
29284
|
-
var ISSUE_RE = /^[A-Z]
|
|
29284
|
+
var ISSUE_RE = /^[A-Z][A-Z0-9_]*-\d+$/;
|
|
29285
29285
|
var youTrackReadOnlyConfigPath = () => process.env.WORKIT_YOUTRACK_CONFIG ?? path27.join(resolveConfigDir(), "youtrack.json");
|
|
29286
29286
|
var readYouTrackContextConfig = () => {
|
|
29287
29287
|
const cfgPath = youTrackReadOnlyConfigPath();
|
|
@@ -29337,11 +29337,11 @@ function parseIssueRef(input) {
|
|
|
29337
29337
|
if (ISSUE_RE.test(trimmed)) {
|
|
29338
29338
|
return { issueId: trimmed, source: "id" };
|
|
29339
29339
|
}
|
|
29340
|
-
const fromPath = trimmed.match(/\/(?:issue|issues)\/([A-Z]
|
|
29340
|
+
const fromPath = trimmed.match(/\/(?:issue|issues)\/([A-Z][A-Z0-9_]*-\d+)/i);
|
|
29341
29341
|
if (fromPath && ISSUE_RE.test(fromPath[1])) {
|
|
29342
29342
|
return { issueId: fromPath[1], source: "url" };
|
|
29343
29343
|
}
|
|
29344
|
-
const anywhere = trimmed.match(/([A-Z]
|
|
29344
|
+
const anywhere = trimmed.match(/([A-Z][A-Z0-9_]*-\d+)/);
|
|
29345
29345
|
if (anywhere && ISSUE_RE.test(anywhere[1])) {
|
|
29346
29346
|
return { issueId: anywhere[1], source: "url" };
|
|
29347
29347
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workit-dev/mcp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.11.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": "^1.
|
|
47
|
+
"@workit-dev/core": "^1.11.0",
|
|
48
48
|
"zod": "4.6.5"
|
|
49
49
|
},
|
|
50
50
|
"engines": {
|