mobbdev 1.4.42 → 1.4.43
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 +22 -150
- package/dist/args/commands/upload_ai_blame.mjs +109 -108
- package/dist/index.mjs +140 -137
- package/package.json +11 -11
|
@@ -21,27 +21,21 @@ type Logger = {
|
|
|
21
21
|
error: (msg: string, data?: unknown) => void;
|
|
22
22
|
};
|
|
23
23
|
declare const PromptItemZ: z.ZodObject<{
|
|
24
|
-
type: z.ZodEnum<
|
|
24
|
+
type: z.ZodEnum<{
|
|
25
|
+
USER_PROMPT: "USER_PROMPT";
|
|
26
|
+
AI_RESPONSE: "AI_RESPONSE";
|
|
27
|
+
TOOL_EXECUTION: "TOOL_EXECUTION";
|
|
28
|
+
AI_THINKING: "AI_THINKING";
|
|
29
|
+
MCP_TOOL_CALL: "MCP_TOOL_CALL";
|
|
30
|
+
}>;
|
|
25
31
|
attachedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
26
32
|
relativePath: z.ZodString;
|
|
27
33
|
startLine: z.ZodOptional<z.ZodNumber>;
|
|
28
|
-
},
|
|
29
|
-
relativePath: string;
|
|
30
|
-
startLine?: number | undefined;
|
|
31
|
-
}, {
|
|
32
|
-
relativePath: string;
|
|
33
|
-
startLine?: number | undefined;
|
|
34
|
-
}>, "many">>;
|
|
34
|
+
}, z.core.$strip>>>;
|
|
35
35
|
tokens: z.ZodOptional<z.ZodObject<{
|
|
36
36
|
inputCount: z.ZodNumber;
|
|
37
37
|
outputCount: z.ZodNumber;
|
|
38
|
-
},
|
|
39
|
-
inputCount: number;
|
|
40
|
-
outputCount: number;
|
|
41
|
-
}, {
|
|
42
|
-
inputCount: number;
|
|
43
|
-
outputCount: number;
|
|
44
|
-
}>>;
|
|
38
|
+
}, z.core.$strip>>;
|
|
45
39
|
text: z.ZodOptional<z.ZodString>;
|
|
46
40
|
date: z.ZodOptional<z.ZodDate>;
|
|
47
41
|
tool: z.ZodOptional<z.ZodObject<{
|
|
@@ -52,89 +46,25 @@ declare const PromptItemZ: z.ZodObject<{
|
|
|
52
46
|
accepted: z.ZodOptional<z.ZodBoolean>;
|
|
53
47
|
mcpServer: z.ZodOptional<z.ZodString>;
|
|
54
48
|
mcpToolName: z.ZodOptional<z.ZodString>;
|
|
55
|
-
},
|
|
56
|
-
|
|
57
|
-
parameters: string;
|
|
58
|
-
result: string;
|
|
59
|
-
mcpServer?: string | undefined;
|
|
60
|
-
accepted?: boolean | undefined;
|
|
61
|
-
rawArguments?: string | undefined;
|
|
62
|
-
mcpToolName?: string | undefined;
|
|
63
|
-
}, {
|
|
64
|
-
name: string;
|
|
65
|
-
parameters: string;
|
|
66
|
-
result: string;
|
|
67
|
-
mcpServer?: string | undefined;
|
|
68
|
-
accepted?: boolean | undefined;
|
|
69
|
-
rawArguments?: string | undefined;
|
|
70
|
-
mcpToolName?: string | undefined;
|
|
71
|
-
}>>;
|
|
72
|
-
}, "strip", z.ZodTypeAny, {
|
|
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
|
-
mcpServer?: string | undefined;
|
|
79
|
-
accepted?: boolean | undefined;
|
|
80
|
-
rawArguments?: string | undefined;
|
|
81
|
-
mcpToolName?: string | undefined;
|
|
82
|
-
} | undefined;
|
|
83
|
-
date?: Date | undefined;
|
|
84
|
-
tokens?: {
|
|
85
|
-
inputCount: number;
|
|
86
|
-
outputCount: number;
|
|
87
|
-
} | undefined;
|
|
88
|
-
text?: string | undefined;
|
|
89
|
-
attachedFiles?: {
|
|
90
|
-
relativePath: string;
|
|
91
|
-
startLine?: number | undefined;
|
|
92
|
-
}[] | undefined;
|
|
93
|
-
}, {
|
|
94
|
-
type: "USER_PROMPT" | "AI_RESPONSE" | "TOOL_EXECUTION" | "AI_THINKING" | "MCP_TOOL_CALL";
|
|
95
|
-
tool?: {
|
|
96
|
-
name: string;
|
|
97
|
-
parameters: string;
|
|
98
|
-
result: string;
|
|
99
|
-
mcpServer?: string | undefined;
|
|
100
|
-
accepted?: boolean | undefined;
|
|
101
|
-
rawArguments?: string | undefined;
|
|
102
|
-
mcpToolName?: string | undefined;
|
|
103
|
-
} | undefined;
|
|
104
|
-
date?: Date | undefined;
|
|
105
|
-
tokens?: {
|
|
106
|
-
inputCount: number;
|
|
107
|
-
outputCount: number;
|
|
108
|
-
} | undefined;
|
|
109
|
-
text?: string | undefined;
|
|
110
|
-
attachedFiles?: {
|
|
111
|
-
relativePath: string;
|
|
112
|
-
startLine?: number | undefined;
|
|
113
|
-
}[] | undefined;
|
|
114
|
-
}>;
|
|
49
|
+
}, z.core.$strip>>;
|
|
50
|
+
}, z.core.$strip>;
|
|
115
51
|
type PromptItem = z.infer<typeof PromptItemZ>;
|
|
116
52
|
declare const PromptItemArrayZ: z.ZodArray<z.ZodObject<{
|
|
117
|
-
type: z.ZodEnum<
|
|
53
|
+
type: z.ZodEnum<{
|
|
54
|
+
USER_PROMPT: "USER_PROMPT";
|
|
55
|
+
AI_RESPONSE: "AI_RESPONSE";
|
|
56
|
+
TOOL_EXECUTION: "TOOL_EXECUTION";
|
|
57
|
+
AI_THINKING: "AI_THINKING";
|
|
58
|
+
MCP_TOOL_CALL: "MCP_TOOL_CALL";
|
|
59
|
+
}>;
|
|
118
60
|
attachedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
119
61
|
relativePath: z.ZodString;
|
|
120
62
|
startLine: z.ZodOptional<z.ZodNumber>;
|
|
121
|
-
},
|
|
122
|
-
relativePath: string;
|
|
123
|
-
startLine?: number | undefined;
|
|
124
|
-
}, {
|
|
125
|
-
relativePath: string;
|
|
126
|
-
startLine?: number | undefined;
|
|
127
|
-
}>, "many">>;
|
|
63
|
+
}, z.core.$strip>>>;
|
|
128
64
|
tokens: z.ZodOptional<z.ZodObject<{
|
|
129
65
|
inputCount: z.ZodNumber;
|
|
130
66
|
outputCount: z.ZodNumber;
|
|
131
|
-
},
|
|
132
|
-
inputCount: number;
|
|
133
|
-
outputCount: number;
|
|
134
|
-
}, {
|
|
135
|
-
inputCount: number;
|
|
136
|
-
outputCount: number;
|
|
137
|
-
}>>;
|
|
67
|
+
}, z.core.$strip>>;
|
|
138
68
|
text: z.ZodOptional<z.ZodString>;
|
|
139
69
|
date: z.ZodOptional<z.ZodDate>;
|
|
140
70
|
tool: z.ZodOptional<z.ZodObject<{
|
|
@@ -145,66 +75,8 @@ declare const PromptItemArrayZ: z.ZodArray<z.ZodObject<{
|
|
|
145
75
|
accepted: z.ZodOptional<z.ZodBoolean>;
|
|
146
76
|
mcpServer: z.ZodOptional<z.ZodString>;
|
|
147
77
|
mcpToolName: z.ZodOptional<z.ZodString>;
|
|
148
|
-
},
|
|
149
|
-
|
|
150
|
-
parameters: string;
|
|
151
|
-
result: string;
|
|
152
|
-
mcpServer?: string | undefined;
|
|
153
|
-
accepted?: boolean | undefined;
|
|
154
|
-
rawArguments?: string | undefined;
|
|
155
|
-
mcpToolName?: string | undefined;
|
|
156
|
-
}, {
|
|
157
|
-
name: string;
|
|
158
|
-
parameters: string;
|
|
159
|
-
result: string;
|
|
160
|
-
mcpServer?: string | undefined;
|
|
161
|
-
accepted?: boolean | undefined;
|
|
162
|
-
rawArguments?: string | undefined;
|
|
163
|
-
mcpToolName?: string | undefined;
|
|
164
|
-
}>>;
|
|
165
|
-
}, "strip", z.ZodTypeAny, {
|
|
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
|
-
mcpServer?: string | undefined;
|
|
172
|
-
accepted?: boolean | undefined;
|
|
173
|
-
rawArguments?: string | undefined;
|
|
174
|
-
mcpToolName?: string | undefined;
|
|
175
|
-
} | undefined;
|
|
176
|
-
date?: Date | undefined;
|
|
177
|
-
tokens?: {
|
|
178
|
-
inputCount: number;
|
|
179
|
-
outputCount: number;
|
|
180
|
-
} | undefined;
|
|
181
|
-
text?: string | undefined;
|
|
182
|
-
attachedFiles?: {
|
|
183
|
-
relativePath: string;
|
|
184
|
-
startLine?: number | undefined;
|
|
185
|
-
}[] | undefined;
|
|
186
|
-
}, {
|
|
187
|
-
type: "USER_PROMPT" | "AI_RESPONSE" | "TOOL_EXECUTION" | "AI_THINKING" | "MCP_TOOL_CALL";
|
|
188
|
-
tool?: {
|
|
189
|
-
name: string;
|
|
190
|
-
parameters: string;
|
|
191
|
-
result: string;
|
|
192
|
-
mcpServer?: string | undefined;
|
|
193
|
-
accepted?: boolean | undefined;
|
|
194
|
-
rawArguments?: string | undefined;
|
|
195
|
-
mcpToolName?: string | undefined;
|
|
196
|
-
} | undefined;
|
|
197
|
-
date?: Date | undefined;
|
|
198
|
-
tokens?: {
|
|
199
|
-
inputCount: number;
|
|
200
|
-
outputCount: number;
|
|
201
|
-
} | undefined;
|
|
202
|
-
text?: string | undefined;
|
|
203
|
-
attachedFiles?: {
|
|
204
|
-
relativePath: string;
|
|
205
|
-
startLine?: number | undefined;
|
|
206
|
-
}[] | undefined;
|
|
207
|
-
}>, "many">;
|
|
78
|
+
}, z.core.$strip>>;
|
|
79
|
+
}, z.core.$strip>>;
|
|
208
80
|
type PromptItemArray = z.infer<typeof PromptItemArrayZ>;
|
|
209
81
|
type RepoState = {
|
|
210
82
|
repositoryUrl: string | null;
|