@freelancercom/phabricator-mcp 2.0.0 → 2.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.
|
@@ -83,7 +83,7 @@ export function registerDifferentialTools(server, client) {
|
|
|
83
83
|
transactions.push({ type: 'subscribers.remove', value: params.removeSubscriberPHIDs });
|
|
84
84
|
}
|
|
85
85
|
if (params.repositoryPHID !== undefined) {
|
|
86
|
-
transactions.push({ type: '
|
|
86
|
+
transactions.push({ type: 'repository', value: params.repositoryPHID });
|
|
87
87
|
}
|
|
88
88
|
if (transactions.length === 0) {
|
|
89
89
|
return { content: [{ type: 'text', text: 'No changes specified' }] };
|
|
@@ -154,7 +154,7 @@ export function registerDifferentialTools(server, client) {
|
|
|
154
154
|
lineNumber: params.lineNumber,
|
|
155
155
|
lineLength: params.lineLength ?? 0,
|
|
156
156
|
content: params.content,
|
|
157
|
-
isNewFile: params.isNewFile ?? true,
|
|
157
|
+
isNewFile: (params.isNewFile ?? true) ? 1 : 0,
|
|
158
158
|
});
|
|
159
159
|
return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] };
|
|
160
160
|
});
|
package/dist/tools/maniphest.js
CHANGED
|
@@ -158,7 +158,7 @@ export function registerManiphestTools(server, client) {
|
|
|
158
158
|
transactions.push({ type: 'subtasks.remove', value: params.removeSubtaskPHIDs });
|
|
159
159
|
}
|
|
160
160
|
if (params.columnPHID !== undefined) {
|
|
161
|
-
transactions.push({ type: 'column', value: [params.columnPHID] });
|
|
161
|
+
transactions.push({ type: 'column', value: [{ columnPHID: params.columnPHID }] });
|
|
162
162
|
}
|
|
163
163
|
if (params.comment !== undefined) {
|
|
164
164
|
transactions.push({ type: 'comment', value: params.comment });
|
package/package.json
CHANGED