mobbdev 1.2.38 → 1.2.46
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.
|
@@ -56,22 +56,32 @@ declare const PromptItemZ: z.ZodObject<{
|
|
|
56
56
|
name: string;
|
|
57
57
|
parameters: string;
|
|
58
58
|
result: string;
|
|
59
|
-
rawArguments?: string | undefined;
|
|
60
59
|
accepted?: boolean | undefined;
|
|
60
|
+
rawArguments?: string | undefined;
|
|
61
61
|
mcpServer?: string | undefined;
|
|
62
62
|
mcpToolName?: string | undefined;
|
|
63
63
|
}, {
|
|
64
64
|
name: string;
|
|
65
65
|
parameters: string;
|
|
66
66
|
result: string;
|
|
67
|
-
rawArguments?: string | undefined;
|
|
68
67
|
accepted?: boolean | undefined;
|
|
68
|
+
rawArguments?: string | undefined;
|
|
69
69
|
mcpServer?: string | undefined;
|
|
70
70
|
mcpToolName?: string | undefined;
|
|
71
71
|
}>>;
|
|
72
72
|
}, "strip", z.ZodTypeAny, {
|
|
73
73
|
type: "USER_PROMPT" | "AI_RESPONSE" | "TOOL_EXECUTION" | "AI_THINKING" | "MCP_TOOL_CALL";
|
|
74
|
+
tool?: {
|
|
75
|
+
name: string;
|
|
76
|
+
parameters: string;
|
|
77
|
+
result: string;
|
|
78
|
+
accepted?: boolean | undefined;
|
|
79
|
+
rawArguments?: string | undefined;
|
|
80
|
+
mcpServer?: string | undefined;
|
|
81
|
+
mcpToolName?: string | undefined;
|
|
82
|
+
} | undefined;
|
|
74
83
|
date?: Date | undefined;
|
|
84
|
+
text?: string | undefined;
|
|
75
85
|
attachedFiles?: {
|
|
76
86
|
relativePath: string;
|
|
77
87
|
startLine?: number | undefined;
|
|
@@ -80,19 +90,19 @@ declare const PromptItemZ: z.ZodObject<{
|
|
|
80
90
|
inputCount: number;
|
|
81
91
|
outputCount: number;
|
|
82
92
|
} | undefined;
|
|
83
|
-
|
|
93
|
+
}, {
|
|
94
|
+
type: "USER_PROMPT" | "AI_RESPONSE" | "TOOL_EXECUTION" | "AI_THINKING" | "MCP_TOOL_CALL";
|
|
84
95
|
tool?: {
|
|
85
96
|
name: string;
|
|
86
97
|
parameters: string;
|
|
87
98
|
result: string;
|
|
88
|
-
rawArguments?: string | undefined;
|
|
89
99
|
accepted?: boolean | undefined;
|
|
100
|
+
rawArguments?: string | undefined;
|
|
90
101
|
mcpServer?: string | undefined;
|
|
91
102
|
mcpToolName?: string | undefined;
|
|
92
103
|
} | undefined;
|
|
93
|
-
}, {
|
|
94
|
-
type: "USER_PROMPT" | "AI_RESPONSE" | "TOOL_EXECUTION" | "AI_THINKING" | "MCP_TOOL_CALL";
|
|
95
104
|
date?: Date | undefined;
|
|
105
|
+
text?: string | undefined;
|
|
96
106
|
attachedFiles?: {
|
|
97
107
|
relativePath: string;
|
|
98
108
|
startLine?: number | undefined;
|
|
@@ -101,16 +111,6 @@ declare const PromptItemZ: z.ZodObject<{
|
|
|
101
111
|
inputCount: number;
|
|
102
112
|
outputCount: number;
|
|
103
113
|
} | undefined;
|
|
104
|
-
text?: string | undefined;
|
|
105
|
-
tool?: {
|
|
106
|
-
name: string;
|
|
107
|
-
parameters: string;
|
|
108
|
-
result: string;
|
|
109
|
-
rawArguments?: string | undefined;
|
|
110
|
-
accepted?: boolean | undefined;
|
|
111
|
-
mcpServer?: string | undefined;
|
|
112
|
-
mcpToolName?: string | undefined;
|
|
113
|
-
} | undefined;
|
|
114
114
|
}>;
|
|
115
115
|
type PromptItem = z.infer<typeof PromptItemZ>;
|
|
116
116
|
declare const PromptItemArrayZ: z.ZodArray<z.ZodObject<{
|
|
@@ -149,22 +149,32 @@ declare const PromptItemArrayZ: z.ZodArray<z.ZodObject<{
|
|
|
149
149
|
name: string;
|
|
150
150
|
parameters: string;
|
|
151
151
|
result: string;
|
|
152
|
-
rawArguments?: string | undefined;
|
|
153
152
|
accepted?: boolean | undefined;
|
|
153
|
+
rawArguments?: string | undefined;
|
|
154
154
|
mcpServer?: string | undefined;
|
|
155
155
|
mcpToolName?: string | undefined;
|
|
156
156
|
}, {
|
|
157
157
|
name: string;
|
|
158
158
|
parameters: string;
|
|
159
159
|
result: string;
|
|
160
|
-
rawArguments?: string | undefined;
|
|
161
160
|
accepted?: boolean | undefined;
|
|
161
|
+
rawArguments?: string | undefined;
|
|
162
162
|
mcpServer?: string | undefined;
|
|
163
163
|
mcpToolName?: string | undefined;
|
|
164
164
|
}>>;
|
|
165
165
|
}, "strip", z.ZodTypeAny, {
|
|
166
166
|
type: "USER_PROMPT" | "AI_RESPONSE" | "TOOL_EXECUTION" | "AI_THINKING" | "MCP_TOOL_CALL";
|
|
167
|
+
tool?: {
|
|
168
|
+
name: string;
|
|
169
|
+
parameters: string;
|
|
170
|
+
result: string;
|
|
171
|
+
accepted?: boolean | undefined;
|
|
172
|
+
rawArguments?: string | undefined;
|
|
173
|
+
mcpServer?: string | undefined;
|
|
174
|
+
mcpToolName?: string | undefined;
|
|
175
|
+
} | undefined;
|
|
167
176
|
date?: Date | undefined;
|
|
177
|
+
text?: string | undefined;
|
|
168
178
|
attachedFiles?: {
|
|
169
179
|
relativePath: string;
|
|
170
180
|
startLine?: number | undefined;
|
|
@@ -173,19 +183,19 @@ declare const PromptItemArrayZ: z.ZodArray<z.ZodObject<{
|
|
|
173
183
|
inputCount: number;
|
|
174
184
|
outputCount: number;
|
|
175
185
|
} | undefined;
|
|
176
|
-
|
|
186
|
+
}, {
|
|
187
|
+
type: "USER_PROMPT" | "AI_RESPONSE" | "TOOL_EXECUTION" | "AI_THINKING" | "MCP_TOOL_CALL";
|
|
177
188
|
tool?: {
|
|
178
189
|
name: string;
|
|
179
190
|
parameters: string;
|
|
180
191
|
result: string;
|
|
181
|
-
rawArguments?: string | undefined;
|
|
182
192
|
accepted?: boolean | undefined;
|
|
193
|
+
rawArguments?: string | undefined;
|
|
183
194
|
mcpServer?: string | undefined;
|
|
184
195
|
mcpToolName?: string | undefined;
|
|
185
196
|
} | undefined;
|
|
186
|
-
}, {
|
|
187
|
-
type: "USER_PROMPT" | "AI_RESPONSE" | "TOOL_EXECUTION" | "AI_THINKING" | "MCP_TOOL_CALL";
|
|
188
197
|
date?: Date | undefined;
|
|
198
|
+
text?: string | undefined;
|
|
189
199
|
attachedFiles?: {
|
|
190
200
|
relativePath: string;
|
|
191
201
|
startLine?: number | undefined;
|
|
@@ -194,16 +204,6 @@ declare const PromptItemArrayZ: z.ZodArray<z.ZodObject<{
|
|
|
194
204
|
inputCount: number;
|
|
195
205
|
outputCount: number;
|
|
196
206
|
} | undefined;
|
|
197
|
-
text?: string | undefined;
|
|
198
|
-
tool?: {
|
|
199
|
-
name: string;
|
|
200
|
-
parameters: string;
|
|
201
|
-
result: string;
|
|
202
|
-
rawArguments?: string | undefined;
|
|
203
|
-
accepted?: boolean | undefined;
|
|
204
|
-
mcpServer?: string | undefined;
|
|
205
|
-
mcpToolName?: string | undefined;
|
|
206
|
-
} | undefined;
|
|
207
207
|
}>, "many">;
|
|
208
208
|
type PromptItemArray = z.infer<typeof PromptItemArrayZ>;
|
|
209
209
|
/**
|
|
@@ -76,8 +76,8 @@ function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
76
76
|
UploadTracyRecords(variables, requestHeaders, signal) {
|
|
77
77
|
return withWrapper((wrappedRequestHeaders) => client.request({ document: UploadTracyRecordsDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), "UploadTracyRecords", "mutation", variables);
|
|
78
78
|
},
|
|
79
|
-
|
|
80
|
-
return withWrapper((wrappedRequestHeaders) => client.request({ document:
|
|
79
|
+
GetTracyRawDataUploadUrl(variables, requestHeaders, signal) {
|
|
80
|
+
return withWrapper((wrappedRequestHeaders) => client.request({ document: GetTracyRawDataUploadUrlDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), "GetTracyRawDataUploadUrl", "mutation", variables);
|
|
81
81
|
},
|
|
82
82
|
DigestVulnerabilityReport(variables, requestHeaders, signal) {
|
|
83
83
|
return withWrapper((wrappedRequestHeaders) => client.request({ document: DigestVulnerabilityReportDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), "DigestVulnerabilityReport", "mutation", variables);
|
|
@@ -132,7 +132,7 @@ function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
134
|
}
|
|
135
|
-
var AiBlameInferenceType, FixQuestionInputType, Language, ManifestAction, Effort_To_Apply_Fix_Enum, Fix_Rating_Tag_Enum, Fix_Report_State_Enum, Fix_State_Enum, IssueLanguage_Enum, IssueType_Enum, Pr_Status_Enum, Project_Role_Type_Enum, Vulnerability_Report_Issue_Category_Enum, Vulnerability_Report_Issue_State_Enum, Vulnerability_Report_Issue_Tag_Enum, Vulnerability_Report_Vendor_Enum, Vulnerability_Severity_Enum, FixDetailsFragmentDoc, FixReportSummaryFieldsFragmentDoc, MeDocument, GetLastOrgAndNamedProjectDocument, GetLastOrgDocument, GetEncryptedApiTokenDocument, FixReportStateDocument, GetVulnerabilityReportPathsDocument, GetAnalysisSubscriptionDocument, GetAnalysisDocument, GetFixesDocument, GetVulByNodesMetadataDocument, GetFalsePositiveDocument, UpdateScmTokenDocument, UploadS3BucketInfoDocument, GetTracyDiffUploadUrlDocument, AnalyzeCommitForExtensionAiBlameDocument, GetAiBlameInferenceDocument, GetAiBlameAttributionPromptDocument, GetPromptSummaryDocument, UploadAiBlameInferencesInitDocument, FinalizeAiBlameInferencesUploadDocument, UploadTracyRecordsDocument,
|
|
135
|
+
var AiBlameInferenceType, FixQuestionInputType, Language, ManifestAction, Effort_To_Apply_Fix_Enum, Fix_Rating_Tag_Enum, Fix_Report_State_Enum, Fix_State_Enum, IssueLanguage_Enum, IssueType_Enum, Pr_Status_Enum, Project_Role_Type_Enum, Vulnerability_Report_Issue_Category_Enum, Vulnerability_Report_Issue_State_Enum, Vulnerability_Report_Issue_Tag_Enum, Vulnerability_Report_Vendor_Enum, Vulnerability_Severity_Enum, FixDetailsFragmentDoc, FixReportSummaryFieldsFragmentDoc, MeDocument, GetLastOrgAndNamedProjectDocument, GetLastOrgDocument, GetEncryptedApiTokenDocument, FixReportStateDocument, GetVulnerabilityReportPathsDocument, GetAnalysisSubscriptionDocument, GetAnalysisDocument, GetFixesDocument, GetVulByNodesMetadataDocument, GetFalsePositiveDocument, UpdateScmTokenDocument, UploadS3BucketInfoDocument, GetTracyDiffUploadUrlDocument, AnalyzeCommitForExtensionAiBlameDocument, GetAiBlameInferenceDocument, GetAiBlameAttributionPromptDocument, GetPromptSummaryDocument, UploadAiBlameInferencesInitDocument, FinalizeAiBlameInferencesUploadDocument, UploadTracyRecordsDocument, GetTracyRawDataUploadUrlDocument, DigestVulnerabilityReportDocument, SubmitVulnerabilityReportDocument, CreateCommunityUserDocument, CreateCliLoginDocument, PerformCliLoginDocument, CreateProjectDocument, ValidateRepoUrlDocument, GitReferenceDocument, AutoPrAnalysisDocument, GetFixReportsByRepoUrlDocument, GetReportFixesDocument, GetLatestReportByRepoUrlDocument, UpdateDownloadedFixDataDocument, GetUserMvsAutoFixDocument, StreamBlameAiAnalysisRequestsDocument, StreamCommitBlameRequestsDocument, ScanSkillDocument, defaultWrapper;
|
|
136
136
|
var init_client_generates = __esm({
|
|
137
137
|
"src/features/analysis/scm/generates/client_generates.ts"() {
|
|
138
138
|
"use strict";
|
|
@@ -978,17 +978,14 @@ var init_client_generates = __esm({
|
|
|
978
978
|
}
|
|
979
979
|
}
|
|
980
980
|
`;
|
|
981
|
-
|
|
982
|
-
mutation
|
|
983
|
-
|
|
981
|
+
GetTracyRawDataUploadUrlDocument = `
|
|
982
|
+
mutation GetTracyRawDataUploadUrl {
|
|
983
|
+
getTracyRawDataUploadUrl {
|
|
984
984
|
status
|
|
985
985
|
error
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
uploadFieldsJSON
|
|
990
|
-
uploadKey
|
|
991
|
-
}
|
|
986
|
+
url
|
|
987
|
+
uploadFieldsJSON
|
|
988
|
+
keyPrefix
|
|
992
989
|
}
|
|
993
990
|
}
|
|
994
991
|
`;
|
|
@@ -7152,8 +7149,8 @@ var GQLClient = class {
|
|
|
7152
7149
|
async uploadTracyRecords(variables) {
|
|
7153
7150
|
return await this._clientSdk.UploadTracyRecords(variables);
|
|
7154
7151
|
}
|
|
7155
|
-
async
|
|
7156
|
-
return await this._clientSdk.
|
|
7152
|
+
async getTracyRawDataUploadUrl() {
|
|
7153
|
+
return await this._clientSdk.GetTracyRawDataUploadUrl();
|
|
7157
7154
|
}
|
|
7158
7155
|
async analyzeCommitForExtensionAIBlame(variables) {
|
|
7159
7156
|
return await this._clientSdk.AnalyzeCommitForExtensionAIBlame(variables);
|
|
@@ -7173,8 +7170,6 @@ var GQLClient = class {
|
|
|
7173
7170
|
};
|
|
7174
7171
|
|
|
7175
7172
|
// src/features/analysis/graphql/tracy-batch-upload.ts
|
|
7176
|
-
import { promisify } from "util";
|
|
7177
|
-
import { gzip } from "zlib";
|
|
7178
7173
|
import Debug8 from "debug";
|
|
7179
7174
|
|
|
7180
7175
|
// src/utils/sanitize-sensitive-data.ts
|
|
@@ -7343,9 +7338,7 @@ async function uploadFile({
|
|
|
7343
7338
|
Object.entries(uploadFields).forEach(([key, value]) => {
|
|
7344
7339
|
form.append(key, value);
|
|
7345
7340
|
});
|
|
7346
|
-
|
|
7347
|
-
form.append("key", uploadKey);
|
|
7348
|
-
}
|
|
7341
|
+
form.set("key", uploadKey);
|
|
7349
7342
|
if (typeof file === "string") {
|
|
7350
7343
|
debug8("upload file from path %s", file);
|
|
7351
7344
|
logInfo(`FileUpload: upload file from path ${file}`);
|
|
@@ -7371,9 +7364,7 @@ async function uploadFile({
|
|
|
7371
7364
|
}
|
|
7372
7365
|
|
|
7373
7366
|
// src/features/analysis/graphql/tracy-batch-upload.ts
|
|
7374
|
-
var gzipAsync = promisify(gzip);
|
|
7375
7367
|
var debug9 = Debug8("mobbdev:tracy-batch-upload");
|
|
7376
|
-
var MAX_BATCH_PAYLOAD_BYTES = 3 * 1024 * 1024;
|
|
7377
7368
|
|
|
7378
7369
|
// src/mcp/services/types.ts
|
|
7379
7370
|
function buildLoginUrl(baseUrl, loginId, hostname, context) {
|
package/dist/index.mjs
CHANGED
|
@@ -76,8 +76,8 @@ function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
76
76
|
UploadTracyRecords(variables, requestHeaders, signal) {
|
|
77
77
|
return withWrapper((wrappedRequestHeaders) => client.request({ document: UploadTracyRecordsDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), "UploadTracyRecords", "mutation", variables);
|
|
78
78
|
},
|
|
79
|
-
|
|
80
|
-
return withWrapper((wrappedRequestHeaders) => client.request({ document:
|
|
79
|
+
GetTracyRawDataUploadUrl(variables, requestHeaders, signal) {
|
|
80
|
+
return withWrapper((wrappedRequestHeaders) => client.request({ document: GetTracyRawDataUploadUrlDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), "GetTracyRawDataUploadUrl", "mutation", variables);
|
|
81
81
|
},
|
|
82
82
|
DigestVulnerabilityReport(variables, requestHeaders, signal) {
|
|
83
83
|
return withWrapper((wrappedRequestHeaders) => client.request({ document: DigestVulnerabilityReportDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), "DigestVulnerabilityReport", "mutation", variables);
|
|
@@ -132,7 +132,7 @@ function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
134
|
}
|
|
135
|
-
var AiBlameInferenceType, FixQuestionInputType, Language, ManifestAction, Effort_To_Apply_Fix_Enum, Fix_Rating_Tag_Enum, Fix_Report_State_Enum, Fix_State_Enum, IssueLanguage_Enum, IssueType_Enum, Pr_Status_Enum, Project_Role_Type_Enum, Vulnerability_Report_Issue_Category_Enum, Vulnerability_Report_Issue_State_Enum, Vulnerability_Report_Issue_Tag_Enum, Vulnerability_Report_Vendor_Enum, Vulnerability_Severity_Enum, FixDetailsFragmentDoc, FixReportSummaryFieldsFragmentDoc, MeDocument, GetLastOrgAndNamedProjectDocument, GetLastOrgDocument, GetEncryptedApiTokenDocument, FixReportStateDocument, GetVulnerabilityReportPathsDocument, GetAnalysisSubscriptionDocument, GetAnalysisDocument, GetFixesDocument, GetVulByNodesMetadataDocument, GetFalsePositiveDocument, UpdateScmTokenDocument, UploadS3BucketInfoDocument, GetTracyDiffUploadUrlDocument, AnalyzeCommitForExtensionAiBlameDocument, GetAiBlameInferenceDocument, GetAiBlameAttributionPromptDocument, GetPromptSummaryDocument, UploadAiBlameInferencesInitDocument, FinalizeAiBlameInferencesUploadDocument, UploadTracyRecordsDocument,
|
|
135
|
+
var AiBlameInferenceType, FixQuestionInputType, Language, ManifestAction, Effort_To_Apply_Fix_Enum, Fix_Rating_Tag_Enum, Fix_Report_State_Enum, Fix_State_Enum, IssueLanguage_Enum, IssueType_Enum, Pr_Status_Enum, Project_Role_Type_Enum, Vulnerability_Report_Issue_Category_Enum, Vulnerability_Report_Issue_State_Enum, Vulnerability_Report_Issue_Tag_Enum, Vulnerability_Report_Vendor_Enum, Vulnerability_Severity_Enum, FixDetailsFragmentDoc, FixReportSummaryFieldsFragmentDoc, MeDocument, GetLastOrgAndNamedProjectDocument, GetLastOrgDocument, GetEncryptedApiTokenDocument, FixReportStateDocument, GetVulnerabilityReportPathsDocument, GetAnalysisSubscriptionDocument, GetAnalysisDocument, GetFixesDocument, GetVulByNodesMetadataDocument, GetFalsePositiveDocument, UpdateScmTokenDocument, UploadS3BucketInfoDocument, GetTracyDiffUploadUrlDocument, AnalyzeCommitForExtensionAiBlameDocument, GetAiBlameInferenceDocument, GetAiBlameAttributionPromptDocument, GetPromptSummaryDocument, UploadAiBlameInferencesInitDocument, FinalizeAiBlameInferencesUploadDocument, UploadTracyRecordsDocument, GetTracyRawDataUploadUrlDocument, DigestVulnerabilityReportDocument, SubmitVulnerabilityReportDocument, CreateCommunityUserDocument, CreateCliLoginDocument, PerformCliLoginDocument, CreateProjectDocument, ValidateRepoUrlDocument, GitReferenceDocument, AutoPrAnalysisDocument, GetFixReportsByRepoUrlDocument, GetReportFixesDocument, GetLatestReportByRepoUrlDocument, UpdateDownloadedFixDataDocument, GetUserMvsAutoFixDocument, StreamBlameAiAnalysisRequestsDocument, StreamCommitBlameRequestsDocument, ScanSkillDocument, defaultWrapper;
|
|
136
136
|
var init_client_generates = __esm({
|
|
137
137
|
"src/features/analysis/scm/generates/client_generates.ts"() {
|
|
138
138
|
"use strict";
|
|
@@ -978,17 +978,14 @@ var init_client_generates = __esm({
|
|
|
978
978
|
}
|
|
979
979
|
}
|
|
980
980
|
`;
|
|
981
|
-
|
|
982
|
-
mutation
|
|
983
|
-
|
|
981
|
+
GetTracyRawDataUploadUrlDocument = `
|
|
982
|
+
mutation GetTracyRawDataUploadUrl {
|
|
983
|
+
getTracyRawDataUploadUrl {
|
|
984
984
|
status
|
|
985
985
|
error
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
uploadFieldsJSON
|
|
990
|
-
uploadKey
|
|
991
|
-
}
|
|
986
|
+
url
|
|
987
|
+
uploadFieldsJSON
|
|
988
|
+
keyPrefix
|
|
992
989
|
}
|
|
993
990
|
}
|
|
994
991
|
`;
|
|
@@ -12562,8 +12559,8 @@ var GQLClient = class {
|
|
|
12562
12559
|
async uploadTracyRecords(variables) {
|
|
12563
12560
|
return await this._clientSdk.UploadTracyRecords(variables);
|
|
12564
12561
|
}
|
|
12565
|
-
async
|
|
12566
|
-
return await this._clientSdk.
|
|
12562
|
+
async getTracyRawDataUploadUrl() {
|
|
12563
|
+
return await this._clientSdk.GetTracyRawDataUploadUrl();
|
|
12567
12564
|
}
|
|
12568
12565
|
async analyzeCommitForExtensionAIBlame(variables) {
|
|
12569
12566
|
return await this._clientSdk.AnalyzeCommitForExtensionAIBlame(variables);
|
|
@@ -12583,8 +12580,6 @@ var GQLClient = class {
|
|
|
12583
12580
|
};
|
|
12584
12581
|
|
|
12585
12582
|
// src/features/analysis/graphql/tracy-batch-upload.ts
|
|
12586
|
-
import { promisify } from "util";
|
|
12587
|
-
import { gzip } from "zlib";
|
|
12588
12583
|
import Debug9 from "debug";
|
|
12589
12584
|
|
|
12590
12585
|
// src/args/commands/upload_ai_blame.ts
|
|
@@ -12725,9 +12720,7 @@ async function uploadFile({
|
|
|
12725
12720
|
Object.entries(uploadFields).forEach(([key, value]) => {
|
|
12726
12721
|
form.append(key, value);
|
|
12727
12722
|
});
|
|
12728
|
-
|
|
12729
|
-
form.append("key", uploadKey);
|
|
12730
|
-
}
|
|
12723
|
+
form.set("key", uploadKey);
|
|
12731
12724
|
if (typeof file === "string") {
|
|
12732
12725
|
debug9("upload file from path %s", file);
|
|
12733
12726
|
logInfo2(`FileUpload: upload file from path ${file}`);
|
|
@@ -13326,9 +13319,7 @@ async function uploadAiBlameCommandHandler(args) {
|
|
|
13326
13319
|
}
|
|
13327
13320
|
|
|
13328
13321
|
// src/features/analysis/graphql/tracy-batch-upload.ts
|
|
13329
|
-
var gzipAsync = promisify(gzip);
|
|
13330
13322
|
var debug10 = Debug9("mobbdev:tracy-batch-upload");
|
|
13331
|
-
var MAX_BATCH_PAYLOAD_BYTES = 3 * 1024 * 1024;
|
|
13332
13323
|
|
|
13333
13324
|
// src/mcp/services/types.ts
|
|
13334
13325
|
function detectIDE() {
|