mobbdev 1.1.32 → 1.1.35
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/args/commands/upload_ai_blame.d.mts +30 -28
- package/dist/args/commands/upload_ai_blame.mjs +1303 -8
- package/dist/index.mjs +98 -117
- package/package.json +2 -1
|
@@ -54,26 +54,18 @@ declare const PromptItemZ: z.ZodObject<{
|
|
|
54
54
|
name: string;
|
|
55
55
|
parameters: string;
|
|
56
56
|
result: string;
|
|
57
|
-
accepted?: boolean | undefined;
|
|
58
57
|
rawArguments?: string | undefined;
|
|
58
|
+
accepted?: boolean | undefined;
|
|
59
59
|
}, {
|
|
60
60
|
name: string;
|
|
61
61
|
parameters: string;
|
|
62
62
|
result: string;
|
|
63
|
-
accepted?: boolean | undefined;
|
|
64
63
|
rawArguments?: string | undefined;
|
|
64
|
+
accepted?: boolean | undefined;
|
|
65
65
|
}>>;
|
|
66
66
|
}, "strip", z.ZodTypeAny, {
|
|
67
67
|
type: "USER_PROMPT" | "AI_RESPONSE" | "TOOL_EXECUTION" | "AI_THINKING";
|
|
68
|
-
tool?: {
|
|
69
|
-
name: string;
|
|
70
|
-
parameters: string;
|
|
71
|
-
result: string;
|
|
72
|
-
accepted?: boolean | undefined;
|
|
73
|
-
rawArguments?: string | undefined;
|
|
74
|
-
} | undefined;
|
|
75
68
|
date?: Date | undefined;
|
|
76
|
-
text?: string | undefined;
|
|
77
69
|
attachedFiles?: {
|
|
78
70
|
relativePath: string;
|
|
79
71
|
startLine?: number | undefined;
|
|
@@ -82,17 +74,17 @@ declare const PromptItemZ: z.ZodObject<{
|
|
|
82
74
|
inputCount: number;
|
|
83
75
|
outputCount: number;
|
|
84
76
|
} | undefined;
|
|
85
|
-
|
|
86
|
-
type: "USER_PROMPT" | "AI_RESPONSE" | "TOOL_EXECUTION" | "AI_THINKING";
|
|
77
|
+
text?: string | undefined;
|
|
87
78
|
tool?: {
|
|
88
79
|
name: string;
|
|
89
80
|
parameters: string;
|
|
90
81
|
result: string;
|
|
91
|
-
accepted?: boolean | undefined;
|
|
92
82
|
rawArguments?: string | undefined;
|
|
83
|
+
accepted?: boolean | undefined;
|
|
93
84
|
} | undefined;
|
|
85
|
+
}, {
|
|
86
|
+
type: "USER_PROMPT" | "AI_RESPONSE" | "TOOL_EXECUTION" | "AI_THINKING";
|
|
94
87
|
date?: Date | undefined;
|
|
95
|
-
text?: string | undefined;
|
|
96
88
|
attachedFiles?: {
|
|
97
89
|
relativePath: string;
|
|
98
90
|
startLine?: number | undefined;
|
|
@@ -101,6 +93,14 @@ declare const PromptItemZ: z.ZodObject<{
|
|
|
101
93
|
inputCount: number;
|
|
102
94
|
outputCount: number;
|
|
103
95
|
} | undefined;
|
|
96
|
+
text?: string | undefined;
|
|
97
|
+
tool?: {
|
|
98
|
+
name: string;
|
|
99
|
+
parameters: string;
|
|
100
|
+
result: string;
|
|
101
|
+
rawArguments?: string | undefined;
|
|
102
|
+
accepted?: boolean | undefined;
|
|
103
|
+
} | undefined;
|
|
104
104
|
}>;
|
|
105
105
|
type PromptItem = z.infer<typeof PromptItemZ>;
|
|
106
106
|
declare const PromptItemArrayZ: z.ZodArray<z.ZodObject<{
|
|
@@ -137,26 +137,18 @@ declare const PromptItemArrayZ: z.ZodArray<z.ZodObject<{
|
|
|
137
137
|
name: string;
|
|
138
138
|
parameters: string;
|
|
139
139
|
result: string;
|
|
140
|
-
accepted?: boolean | undefined;
|
|
141
140
|
rawArguments?: string | undefined;
|
|
141
|
+
accepted?: boolean | undefined;
|
|
142
142
|
}, {
|
|
143
143
|
name: string;
|
|
144
144
|
parameters: string;
|
|
145
145
|
result: string;
|
|
146
|
-
accepted?: boolean | undefined;
|
|
147
146
|
rawArguments?: string | undefined;
|
|
147
|
+
accepted?: boolean | undefined;
|
|
148
148
|
}>>;
|
|
149
149
|
}, "strip", z.ZodTypeAny, {
|
|
150
150
|
type: "USER_PROMPT" | "AI_RESPONSE" | "TOOL_EXECUTION" | "AI_THINKING";
|
|
151
|
-
tool?: {
|
|
152
|
-
name: string;
|
|
153
|
-
parameters: string;
|
|
154
|
-
result: string;
|
|
155
|
-
accepted?: boolean | undefined;
|
|
156
|
-
rawArguments?: string | undefined;
|
|
157
|
-
} | undefined;
|
|
158
151
|
date?: Date | undefined;
|
|
159
|
-
text?: string | undefined;
|
|
160
152
|
attachedFiles?: {
|
|
161
153
|
relativePath: string;
|
|
162
154
|
startLine?: number | undefined;
|
|
@@ -165,17 +157,17 @@ declare const PromptItemArrayZ: z.ZodArray<z.ZodObject<{
|
|
|
165
157
|
inputCount: number;
|
|
166
158
|
outputCount: number;
|
|
167
159
|
} | undefined;
|
|
168
|
-
|
|
169
|
-
type: "USER_PROMPT" | "AI_RESPONSE" | "TOOL_EXECUTION" | "AI_THINKING";
|
|
160
|
+
text?: string | undefined;
|
|
170
161
|
tool?: {
|
|
171
162
|
name: string;
|
|
172
163
|
parameters: string;
|
|
173
164
|
result: string;
|
|
174
|
-
accepted?: boolean | undefined;
|
|
175
165
|
rawArguments?: string | undefined;
|
|
166
|
+
accepted?: boolean | undefined;
|
|
176
167
|
} | undefined;
|
|
168
|
+
}, {
|
|
169
|
+
type: "USER_PROMPT" | "AI_RESPONSE" | "TOOL_EXECUTION" | "AI_THINKING";
|
|
177
170
|
date?: Date | undefined;
|
|
178
|
-
text?: string | undefined;
|
|
179
171
|
attachedFiles?: {
|
|
180
172
|
relativePath: string;
|
|
181
173
|
startLine?: number | undefined;
|
|
@@ -184,6 +176,14 @@ declare const PromptItemArrayZ: z.ZodArray<z.ZodObject<{
|
|
|
184
176
|
inputCount: number;
|
|
185
177
|
outputCount: number;
|
|
186
178
|
} | undefined;
|
|
179
|
+
text?: string | undefined;
|
|
180
|
+
tool?: {
|
|
181
|
+
name: string;
|
|
182
|
+
parameters: string;
|
|
183
|
+
result: string;
|
|
184
|
+
rawArguments?: string | undefined;
|
|
185
|
+
accepted?: boolean | undefined;
|
|
186
|
+
} | undefined;
|
|
187
187
|
}>, "many">;
|
|
188
188
|
type PromptItemArray = z.infer<typeof PromptItemArrayZ>;
|
|
189
189
|
type UploadAiBlameOptions = {
|
|
@@ -216,6 +216,7 @@ declare function uploadAiBlameHandlerFromExtension(args: {
|
|
|
216
216
|
sessionId?: string;
|
|
217
217
|
apiUrl?: string;
|
|
218
218
|
webAppUrl?: string;
|
|
219
|
+
repositoryUrl?: string | null;
|
|
219
220
|
}): Promise<UploadAiBlameResult>;
|
|
220
221
|
type UploadAiBlameHandlerOptions = {
|
|
221
222
|
args: UploadAiBlameOptions;
|
|
@@ -223,6 +224,7 @@ type UploadAiBlameHandlerOptions = {
|
|
|
223
224
|
apiUrl?: string;
|
|
224
225
|
webAppUrl?: string;
|
|
225
226
|
logger?: Logger;
|
|
227
|
+
repositoryUrl?: string | null;
|
|
226
228
|
};
|
|
227
229
|
declare function uploadAiBlameHandler(options: UploadAiBlameHandlerOptions): Promise<void>;
|
|
228
230
|
declare function uploadAiBlameCommandHandler(args: UploadAiBlameOptions): Promise<void>;
|