@freelancercom/phabricator-mcp 2.0.6 → 2.0.8
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/tools/conpherence.js +0 -3
- package/dist/tools/differential.js +2 -1
- package/dist/tools/diffusion.js +8 -0
- package/dist/tools/file.js +7 -2
- package/dist/tools/harbormaster.js +6 -1
- package/dist/tools/maniphest.js +5 -3
- package/dist/tools/owners.js +1 -3
- package/dist/tools/paste.js +7 -0
- package/dist/tools/phame.js +5 -2
- package/dist/tools/phriction.js +3 -0
- package/dist/tools/project.js +5 -3
- package/dist/tools/user.js +1 -0
- package/package.json +1 -1
|
@@ -10,9 +10,6 @@ export function registerConpherenceTools(server, client) {
|
|
|
10
10
|
participants: z.array(z.string()).optional().describe('Participant user PHIDs'),
|
|
11
11
|
query: z.string().optional().describe('Full-text search query'),
|
|
12
12
|
})).optional().describe('Search constraints'),
|
|
13
|
-
attachments: jsonCoerce(z.object({
|
|
14
|
-
participants: z.boolean().optional().describe('Include participant details'),
|
|
15
|
-
})).optional().describe('Data attachments'),
|
|
16
13
|
order: z.string().optional().describe('Result order'),
|
|
17
14
|
limit: z.coerce.number().max(100).optional().describe('Maximum results (max 100)'),
|
|
18
15
|
after: z.string().optional().describe('Cursor for next-page pagination'),
|
|
@@ -17,13 +17,14 @@ export function registerDifferentialTools(server, client) {
|
|
|
17
17
|
createdEnd: z.coerce.number().optional().describe('Created before (epoch timestamp)'),
|
|
18
18
|
modifiedStart: z.coerce.number().optional().describe('Modified after (epoch timestamp)'),
|
|
19
19
|
modifiedEnd: z.coerce.number().optional().describe('Modified before (epoch timestamp)'),
|
|
20
|
+
subscribers: z.array(z.string()).optional().describe('Subscriber user/project PHIDs'),
|
|
21
|
+
projects: z.array(z.string()).optional().describe('Project PHIDs'),
|
|
20
22
|
query: z.string().optional().describe('Full-text search query'),
|
|
21
23
|
})).optional().describe('Search constraints'),
|
|
22
24
|
attachments: jsonCoerce(z.object({
|
|
23
25
|
reviewers: z.boolean().optional().describe('Include reviewers'),
|
|
24
26
|
subscribers: z.boolean().optional().describe('Include subscribers'),
|
|
25
27
|
projects: z.boolean().optional().describe('Include projects'),
|
|
26
|
-
'reviewers-extra': z.boolean().optional().describe('Include detailed reviewer info with voids and diff context (may not be available on all Phabricator versions)'),
|
|
27
28
|
})).optional().describe('Data attachments'),
|
|
28
29
|
order: z.string().optional().describe('Result order: "newest", "oldest", "updated", "relevance"'),
|
|
29
30
|
limit: z.coerce.number().max(100).optional().describe('Maximum results (max 100)'),
|
package/dist/tools/diffusion.js
CHANGED
|
@@ -11,6 +11,8 @@ export function registerDiffusionTools(server, client) {
|
|
|
11
11
|
shortNames: z.array(z.string()).optional().describe('Repository short names'),
|
|
12
12
|
types: z.array(z.string()).optional().describe('VCS types: git, hg, svn'),
|
|
13
13
|
uris: z.array(z.string()).optional().describe('Repository URIs'),
|
|
14
|
+
subscribers: z.array(z.string()).optional().describe('Subscriber user/project PHIDs'),
|
|
15
|
+
spaces: z.array(z.string()).optional().describe('Space PHIDs (for multi-space installations)'),
|
|
14
16
|
query: z.string().optional().describe('Full-text search query'),
|
|
15
17
|
})).optional().describe('Search constraints'),
|
|
16
18
|
attachments: jsonCoerce(z.object({
|
|
@@ -38,6 +40,12 @@ export function registerDiffusionTools(server, client) {
|
|
|
38
40
|
auditors: z.array(z.string()).optional().describe('Auditor user/project PHIDs'),
|
|
39
41
|
responsiblePHIDs: z.array(z.string()).optional().describe('User PHIDs responsible (as author or auditor)'),
|
|
40
42
|
statuses: z.array(z.string()).optional().describe('Audit statuses: none, needs-audit, concern-raised, partially-audited, audited, needs-verification'),
|
|
43
|
+
packages: z.array(z.string()).optional().describe('Owners package PHIDs'),
|
|
44
|
+
unreachable: z.boolean().optional().describe('Include unreachable commits'),
|
|
45
|
+
permanent: z.boolean().optional().describe('Filter by permanent (reachable from any permanent ref) status'),
|
|
46
|
+
ancestorsOf: z.array(z.string()).optional().describe('Find ancestors of these commit identifiers'),
|
|
47
|
+
subscribers: z.array(z.string()).optional().describe('Subscriber user/project PHIDs'),
|
|
48
|
+
projects: z.array(z.string()).optional().describe('Project PHIDs'),
|
|
41
49
|
query: z.string().optional().describe('Full-text search query'),
|
|
42
50
|
})).optional().describe('Search constraints'),
|
|
43
51
|
attachments: jsonCoerce(z.object({
|
package/dist/tools/file.js
CHANGED
|
@@ -20,9 +20,14 @@ export function registerFileTools(server, client) {
|
|
|
20
20
|
phids: z.array(z.string()).optional().describe('File PHIDs'),
|
|
21
21
|
authorPHIDs: z.array(z.string()).optional().describe('Author PHIDs'),
|
|
22
22
|
name: z.string().optional().describe('File name substring search'),
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
createdStart: z.coerce.number().optional().describe('Created after (epoch timestamp)'),
|
|
24
|
+
createdEnd: z.coerce.number().optional().describe('Created before (epoch timestamp)'),
|
|
25
|
+
explicit: z.boolean().optional().describe('Filter to explicitly uploaded files only'),
|
|
26
|
+
subscribers: z.array(z.string()).optional().describe('Subscriber user/project PHIDs'),
|
|
25
27
|
})).optional().describe('Search constraints'),
|
|
28
|
+
attachments: jsonCoerce(z.object({
|
|
29
|
+
subscribers: z.boolean().optional().describe('Include subscriber details'),
|
|
30
|
+
})).optional().describe('Data attachments'),
|
|
26
31
|
order: z.string().optional().describe('Result order'),
|
|
27
32
|
limit: z.coerce.number().max(100).optional().describe('Maximum results (max 100)'),
|
|
28
33
|
after: z.string().optional().describe('Cursor for next-page pagination'),
|
|
@@ -28,7 +28,7 @@ export function registerHarbormasterTools(server, client) {
|
|
|
28
28
|
buildables: z.array(z.string()).optional().describe('Buildable PHIDs'),
|
|
29
29
|
plans: z.array(z.string()).optional().describe('Build plan PHIDs'),
|
|
30
30
|
statuses: z.array(z.string()).optional().describe('Build statuses: building, passed, failed, aborted, error, paused'),
|
|
31
|
-
|
|
31
|
+
initiators: z.array(z.string()).optional().describe('PHIDs of users/objects that initiated the build'),
|
|
32
32
|
})).optional().describe('Search constraints'),
|
|
33
33
|
order: z.string().optional().describe('Result order'),
|
|
34
34
|
limit: z.coerce.number().max(100).optional().describe('Maximum results (max 100)'),
|
|
@@ -45,6 +45,11 @@ export function registerHarbormasterTools(server, client) {
|
|
|
45
45
|
ids: z.array(z.coerce.number()).optional().describe('Target IDs'),
|
|
46
46
|
phids: z.array(z.string()).optional().describe('Target PHIDs'),
|
|
47
47
|
buildPHIDs: z.array(z.string()).optional().describe('Build PHIDs'),
|
|
48
|
+
statuses: z.array(z.string()).optional().describe('Target statuses'),
|
|
49
|
+
dateCreatedStart: z.coerce.number().optional().describe('Created after (epoch timestamp)'),
|
|
50
|
+
dateCreatedEnd: z.coerce.number().optional().describe('Created before (epoch timestamp)'),
|
|
51
|
+
dateModifiedStart: z.coerce.number().optional().describe('Modified after (epoch timestamp)'),
|
|
52
|
+
dateModifiedEnd: z.coerce.number().optional().describe('Modified before (epoch timestamp)'),
|
|
48
53
|
})).optional().describe('Search constraints'),
|
|
49
54
|
order: z.string().optional().describe('Result order'),
|
|
50
55
|
limit: z.coerce.number().max(100).optional().describe('Maximum results (max 100)'),
|
package/dist/tools/maniphest.js
CHANGED
|
@@ -7,7 +7,7 @@ export function registerManiphestTools(server, client) {
|
|
|
7
7
|
constraints: jsonCoerce(z.object({
|
|
8
8
|
ids: z.array(z.coerce.number()).optional().describe('Task IDs to search for'),
|
|
9
9
|
phids: z.array(z.string()).optional().describe('Task PHIDs to search for'),
|
|
10
|
-
|
|
10
|
+
assigned: z.array(z.string()).optional().describe('Assigned user PHIDs'),
|
|
11
11
|
authorPHIDs: z.array(z.string()).optional().describe('Author PHIDs'),
|
|
12
12
|
statuses: z.array(z.string()).optional().describe('Task statuses: open, resolved, wontfix, invalid, spite, duplicate'),
|
|
13
13
|
priorities: z.array(z.coerce.number()).optional().describe('Priority levels'),
|
|
@@ -23,13 +23,15 @@ export function registerManiphestTools(server, client) {
|
|
|
23
23
|
subtaskIDs: z.array(z.coerce.number()).optional().describe('Subtask IDs'),
|
|
24
24
|
hasParents: z.boolean().optional().describe('Filter to tasks that have open parent tasks'),
|
|
25
25
|
hasSubtasks: z.boolean().optional().describe('Filter to tasks that have open subtasks'),
|
|
26
|
-
|
|
26
|
+
spaces: z.array(z.string()).optional().describe('Filter by Space PHIDs (for multi-space installations)'),
|
|
27
|
+
closedStart: z.coerce.number().optional().describe('Closed after (epoch timestamp)'),
|
|
28
|
+
closedEnd: z.coerce.number().optional().describe('Closed before (epoch timestamp)'),
|
|
29
|
+
closerPHIDs: z.array(z.string()).optional().describe('PHIDs of users who closed the task'),
|
|
27
30
|
})).optional().describe('Search constraints'),
|
|
28
31
|
attachments: jsonCoerce(z.object({
|
|
29
32
|
columns: z.boolean().optional().describe('Include workboard column info'),
|
|
30
33
|
projects: z.boolean().optional().describe('Include project info'),
|
|
31
34
|
subscribers: z.boolean().optional().describe('Include subscriber info'),
|
|
32
|
-
'custom-fields': z.boolean().optional().describe('Include custom field values in results'),
|
|
33
35
|
})).optional().describe('Data attachments to include'),
|
|
34
36
|
order: z.string().optional().describe('Result order: "priority", "updated", "newest", "oldest", "title", "relevance"'),
|
|
35
37
|
limit: z.coerce.number().max(100).optional().describe('Maximum results (max 100)'),
|
package/dist/tools/owners.js
CHANGED
|
@@ -10,13 +10,11 @@ export function registerOwnersTools(server, client) {
|
|
|
10
10
|
owners: z.array(z.string()).optional().describe('Owner user or project PHIDs'),
|
|
11
11
|
repositories: z.array(z.string()).optional().describe('Repository PHIDs'),
|
|
12
12
|
paths: z.array(z.string()).optional().describe('Code paths to search for (e.g. "/src/foo.ts")'),
|
|
13
|
+
name: z.string().optional().describe('Search for packages by name substring'),
|
|
13
14
|
statuses: z.array(z.string()).optional().describe('Package statuses'),
|
|
14
|
-
dominion: z.array(z.string()).optional().describe('Ownership strength: "strong" (default) or "weak"'),
|
|
15
|
-
autoReview: z.array(z.string()).optional().describe('Auto-review setting: "none", "subscribe", "review", "block"'),
|
|
16
15
|
query: z.string().optional().describe('Full-text search query'),
|
|
17
16
|
})).optional().describe('Search constraints'),
|
|
18
17
|
attachments: jsonCoerce(z.object({
|
|
19
|
-
owners: z.boolean().optional().describe('Include owner details'),
|
|
20
18
|
paths: z.boolean().optional().describe('Include owned paths'),
|
|
21
19
|
})).optional().describe('Data attachments'),
|
|
22
20
|
order: z.string().optional().describe('Result order'),
|
package/dist/tools/paste.js
CHANGED
|
@@ -10,10 +10,17 @@ export function registerPasteTools(server, client) {
|
|
|
10
10
|
authors: z.array(z.string()).optional().describe('Author PHIDs'),
|
|
11
11
|
languages: z.array(z.string()).optional().describe('Languages'),
|
|
12
12
|
statuses: z.array(z.string()).optional().describe('Statuses: active, archived'),
|
|
13
|
+
subscribers: z.array(z.string()).optional().describe('Subscriber user/project PHIDs'),
|
|
14
|
+
projects: z.array(z.string()).optional().describe('Project PHIDs'),
|
|
15
|
+
spaces: z.array(z.string()).optional().describe('Space PHIDs (for multi-space installations)'),
|
|
16
|
+
createdStart: z.coerce.number().optional().describe('Created after (epoch timestamp)'),
|
|
17
|
+
createdEnd: z.coerce.number().optional().describe('Created before (epoch timestamp)'),
|
|
13
18
|
query: z.string().optional().describe('Full-text search query'),
|
|
14
19
|
})).optional().describe('Search constraints'),
|
|
15
20
|
attachments: jsonCoerce(z.object({
|
|
16
21
|
content: z.boolean().optional().describe('Include paste content'),
|
|
22
|
+
subscribers: z.boolean().optional().describe('Include subscriber details'),
|
|
23
|
+
projects: z.boolean().optional().describe('Include tagged projects'),
|
|
17
24
|
})).optional().describe('Data attachments'),
|
|
18
25
|
order: z.string().optional().describe('Result order'),
|
|
19
26
|
limit: z.coerce.number().max(100).optional().describe('Maximum results (max 100)'),
|
package/dist/tools/phame.js
CHANGED
|
@@ -7,7 +7,9 @@ export function registerPhameTools(server, client) {
|
|
|
7
7
|
constraints: jsonCoerce(z.object({
|
|
8
8
|
ids: z.array(z.coerce.number()).optional().describe('Blog IDs'),
|
|
9
9
|
phids: z.array(z.string()).optional().describe('Blog PHIDs'),
|
|
10
|
-
statuses: z.array(z.string()).optional().describe('Blog statuses'),
|
|
10
|
+
statuses: z.array(z.string()).optional().describe('Blog statuses (may not be supported on all instances)'),
|
|
11
|
+
subscribers: z.array(z.string()).optional().describe('Subscriber user/project PHIDs'),
|
|
12
|
+
projects: z.array(z.string()).optional().describe('Project PHIDs'),
|
|
11
13
|
query: z.string().optional().describe('Full-text search query'),
|
|
12
14
|
})).optional().describe('Search constraints'),
|
|
13
15
|
attachments: jsonCoerce(z.object({
|
|
@@ -29,8 +31,9 @@ export function registerPhameTools(server, client) {
|
|
|
29
31
|
ids: z.array(z.coerce.number()).optional().describe('Post IDs'),
|
|
30
32
|
phids: z.array(z.string()).optional().describe('Post PHIDs'),
|
|
31
33
|
blogPHIDs: z.array(z.string()).optional().describe('Filter by blog PHIDs'),
|
|
32
|
-
authorPHIDs: z.array(z.string()).optional().describe('Filter by author PHIDs'),
|
|
33
34
|
visibility: z.array(z.string()).optional().describe('Visibility: "published", "draft", "archived" (or numeric: "1", "0", "2")'),
|
|
35
|
+
subscribers: z.array(z.string()).optional().describe('Subscriber user/project PHIDs'),
|
|
36
|
+
projects: z.array(z.string()).optional().describe('Project PHIDs'),
|
|
34
37
|
query: z.string().optional().describe('Full-text search query'),
|
|
35
38
|
})).optional().describe('Search constraints'),
|
|
36
39
|
attachments: jsonCoerce(z.object({
|
package/dist/tools/phriction.js
CHANGED
|
@@ -11,6 +11,9 @@ export function registerPhrictionTools(server, client) {
|
|
|
11
11
|
parentPaths: z.array(z.string()).optional().describe('Parent paths (direct children only)'),
|
|
12
12
|
ancestorPaths: z.array(z.string()).optional().describe('Ancestor paths to search under (any depth)'),
|
|
13
13
|
statuses: z.array(z.string()).optional().describe('Document statuses'),
|
|
14
|
+
subscribers: z.array(z.string()).optional().describe('Subscriber user/project PHIDs'),
|
|
15
|
+
projects: z.array(z.string()).optional().describe('Project PHIDs'),
|
|
16
|
+
spaces: z.array(z.string()).optional().describe('Space PHIDs (for multi-space installations)'),
|
|
14
17
|
query: z.string().optional().describe('Full-text search query'),
|
|
15
18
|
})).optional().describe('Search constraints'),
|
|
16
19
|
attachments: jsonCoerce(z.object({
|
package/dist/tools/project.js
CHANGED
|
@@ -16,6 +16,11 @@ export function registerProjectTools(server, client) {
|
|
|
16
16
|
icons: z.array(z.string()).optional().describe('Filter by project icon'),
|
|
17
17
|
isMilestone: z.boolean().optional().describe('Filter milestones'),
|
|
18
18
|
isRoot: z.boolean().optional().describe('Filter root projects'),
|
|
19
|
+
minDepth: z.coerce.number().optional().describe('Minimum project depth (0 = root)'),
|
|
20
|
+
maxDepth: z.coerce.number().optional().describe('Maximum project depth'),
|
|
21
|
+
subtypes: z.array(z.string()).optional().describe('Project subtypes'),
|
|
22
|
+
colors: z.array(z.string()).optional().describe('Project colors'),
|
|
23
|
+
spaces: z.array(z.string()).optional().describe('Space PHIDs (for multi-space installations)'),
|
|
19
24
|
query: z.string().optional().describe('Full-text search query'),
|
|
20
25
|
})).optional().describe('Search constraints'),
|
|
21
26
|
attachments: jsonCoerce(z.object({
|
|
@@ -106,9 +111,6 @@ export function registerProjectTools(server, client) {
|
|
|
106
111
|
phids: z.array(z.string()).optional().describe('Column PHIDs'),
|
|
107
112
|
projects: z.array(z.string()).optional().describe('Project PHIDs'),
|
|
108
113
|
})).optional().describe('Search constraints'),
|
|
109
|
-
attachments: jsonCoerce(z.object({
|
|
110
|
-
items: z.boolean().optional().describe('Include items (tasks) in each column'),
|
|
111
|
-
})).optional().describe('Data attachments'),
|
|
112
114
|
order: z.string().optional().describe('Result order'),
|
|
113
115
|
limit: z.coerce.number().max(100).optional().describe('Maximum results (max 100)'),
|
|
114
116
|
after: z.string().optional().describe('Cursor for next-page pagination'),
|
package/dist/tools/user.js
CHANGED
|
@@ -18,6 +18,7 @@ export function registerUserTools(server, client) {
|
|
|
18
18
|
isDisabled: z.boolean().optional().describe('Filter by disabled status'),
|
|
19
19
|
isBot: z.boolean().optional().describe('Filter by bot status'),
|
|
20
20
|
isMailingList: z.boolean().optional().describe('Filter by mailing list status'),
|
|
21
|
+
needsApproval: z.boolean().optional().describe('Filter to users awaiting admin approval'),
|
|
21
22
|
createdStart: z.coerce.number().optional().describe('Created after (epoch timestamp)'),
|
|
22
23
|
createdEnd: z.coerce.number().optional().describe('Created before (epoch timestamp)'),
|
|
23
24
|
query: z.string().optional().describe('Full-text search query'),
|
package/package.json
CHANGED