mobbdev 1.1.8 → 1.1.9
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 +28 -28
- package/dist/index.mjs +4 -10
- package/package.json +1 -1
|
@@ -51,18 +51,26 @@ declare const PromptItemZ: z.ZodObject<{
|
|
|
51
51
|
name: string;
|
|
52
52
|
parameters: string;
|
|
53
53
|
result: string;
|
|
54
|
-
rawArguments?: string | undefined;
|
|
55
54
|
accepted?: boolean | undefined;
|
|
55
|
+
rawArguments?: string | undefined;
|
|
56
56
|
}, {
|
|
57
57
|
name: string;
|
|
58
58
|
parameters: string;
|
|
59
59
|
result: string;
|
|
60
|
-
rawArguments?: string | undefined;
|
|
61
60
|
accepted?: boolean | undefined;
|
|
61
|
+
rawArguments?: string | undefined;
|
|
62
62
|
}>>;
|
|
63
63
|
}, "strip", z.ZodTypeAny, {
|
|
64
64
|
type: "USER_PROMPT" | "AI_RESPONSE" | "TOOL_EXECUTION" | "AI_THINKING";
|
|
65
|
+
tool?: {
|
|
66
|
+
name: string;
|
|
67
|
+
parameters: string;
|
|
68
|
+
result: string;
|
|
69
|
+
accepted?: boolean | undefined;
|
|
70
|
+
rawArguments?: string | undefined;
|
|
71
|
+
} | undefined;
|
|
65
72
|
date?: Date | undefined;
|
|
73
|
+
text?: string | undefined;
|
|
66
74
|
attachedFiles?: {
|
|
67
75
|
relativePath: string;
|
|
68
76
|
startLine?: number | undefined;
|
|
@@ -71,17 +79,17 @@ declare const PromptItemZ: z.ZodObject<{
|
|
|
71
79
|
inputCount: number;
|
|
72
80
|
outputCount: number;
|
|
73
81
|
} | undefined;
|
|
74
|
-
|
|
82
|
+
}, {
|
|
83
|
+
type: "USER_PROMPT" | "AI_RESPONSE" | "TOOL_EXECUTION" | "AI_THINKING";
|
|
75
84
|
tool?: {
|
|
76
85
|
name: string;
|
|
77
86
|
parameters: string;
|
|
78
87
|
result: string;
|
|
79
|
-
rawArguments?: string | undefined;
|
|
80
88
|
accepted?: boolean | undefined;
|
|
89
|
+
rawArguments?: string | undefined;
|
|
81
90
|
} | undefined;
|
|
82
|
-
}, {
|
|
83
|
-
type: "USER_PROMPT" | "AI_RESPONSE" | "TOOL_EXECUTION" | "AI_THINKING";
|
|
84
91
|
date?: Date | undefined;
|
|
92
|
+
text?: string | undefined;
|
|
85
93
|
attachedFiles?: {
|
|
86
94
|
relativePath: string;
|
|
87
95
|
startLine?: number | undefined;
|
|
@@ -90,14 +98,6 @@ declare const PromptItemZ: z.ZodObject<{
|
|
|
90
98
|
inputCount: number;
|
|
91
99
|
outputCount: number;
|
|
92
100
|
} | undefined;
|
|
93
|
-
text?: string | undefined;
|
|
94
|
-
tool?: {
|
|
95
|
-
name: string;
|
|
96
|
-
parameters: string;
|
|
97
|
-
result: string;
|
|
98
|
-
rawArguments?: string | undefined;
|
|
99
|
-
accepted?: boolean | undefined;
|
|
100
|
-
} | undefined;
|
|
101
101
|
}>;
|
|
102
102
|
type PromptItem = z.infer<typeof PromptItemZ>;
|
|
103
103
|
declare const PromptItemArrayZ: z.ZodArray<z.ZodObject<{
|
|
@@ -134,18 +134,26 @@ declare const PromptItemArrayZ: z.ZodArray<z.ZodObject<{
|
|
|
134
134
|
name: string;
|
|
135
135
|
parameters: string;
|
|
136
136
|
result: string;
|
|
137
|
-
rawArguments?: string | undefined;
|
|
138
137
|
accepted?: boolean | undefined;
|
|
138
|
+
rawArguments?: string | undefined;
|
|
139
139
|
}, {
|
|
140
140
|
name: string;
|
|
141
141
|
parameters: string;
|
|
142
142
|
result: string;
|
|
143
|
-
rawArguments?: string | undefined;
|
|
144
143
|
accepted?: boolean | undefined;
|
|
144
|
+
rawArguments?: string | undefined;
|
|
145
145
|
}>>;
|
|
146
146
|
}, "strip", z.ZodTypeAny, {
|
|
147
147
|
type: "USER_PROMPT" | "AI_RESPONSE" | "TOOL_EXECUTION" | "AI_THINKING";
|
|
148
|
+
tool?: {
|
|
149
|
+
name: string;
|
|
150
|
+
parameters: string;
|
|
151
|
+
result: string;
|
|
152
|
+
accepted?: boolean | undefined;
|
|
153
|
+
rawArguments?: string | undefined;
|
|
154
|
+
} | undefined;
|
|
148
155
|
date?: Date | undefined;
|
|
156
|
+
text?: string | undefined;
|
|
149
157
|
attachedFiles?: {
|
|
150
158
|
relativePath: string;
|
|
151
159
|
startLine?: number | undefined;
|
|
@@ -154,17 +162,17 @@ declare const PromptItemArrayZ: z.ZodArray<z.ZodObject<{
|
|
|
154
162
|
inputCount: number;
|
|
155
163
|
outputCount: number;
|
|
156
164
|
} | undefined;
|
|
157
|
-
|
|
165
|
+
}, {
|
|
166
|
+
type: "USER_PROMPT" | "AI_RESPONSE" | "TOOL_EXECUTION" | "AI_THINKING";
|
|
158
167
|
tool?: {
|
|
159
168
|
name: string;
|
|
160
169
|
parameters: string;
|
|
161
170
|
result: string;
|
|
162
|
-
rawArguments?: string | undefined;
|
|
163
171
|
accepted?: boolean | undefined;
|
|
172
|
+
rawArguments?: string | undefined;
|
|
164
173
|
} | undefined;
|
|
165
|
-
}, {
|
|
166
|
-
type: "USER_PROMPT" | "AI_RESPONSE" | "TOOL_EXECUTION" | "AI_THINKING";
|
|
167
174
|
date?: Date | undefined;
|
|
175
|
+
text?: string | undefined;
|
|
168
176
|
attachedFiles?: {
|
|
169
177
|
relativePath: string;
|
|
170
178
|
startLine?: number | undefined;
|
|
@@ -173,14 +181,6 @@ declare const PromptItemArrayZ: z.ZodArray<z.ZodObject<{
|
|
|
173
181
|
inputCount: number;
|
|
174
182
|
outputCount: number;
|
|
175
183
|
} | undefined;
|
|
176
|
-
text?: string | undefined;
|
|
177
|
-
tool?: {
|
|
178
|
-
name: string;
|
|
179
|
-
parameters: string;
|
|
180
|
-
result: string;
|
|
181
|
-
rawArguments?: string | undefined;
|
|
182
|
-
accepted?: boolean | undefined;
|
|
183
|
-
} | undefined;
|
|
184
184
|
}>, "many">;
|
|
185
185
|
type PromptItemArray = z.infer<typeof PromptItemArrayZ>;
|
|
186
186
|
type UploadAiBlameOptions = {
|
package/dist/index.mjs
CHANGED
|
@@ -8265,13 +8265,6 @@ function getGithubSdk(params = {}) {
|
|
|
8265
8265
|
endingLine
|
|
8266
8266
|
commit {
|
|
8267
8267
|
oid
|
|
8268
|
-
author {
|
|
8269
|
-
user {
|
|
8270
|
-
name
|
|
8271
|
-
login
|
|
8272
|
-
email
|
|
8273
|
-
}
|
|
8274
|
-
}
|
|
8275
8268
|
}
|
|
8276
8269
|
}
|
|
8277
8270
|
}
|
|
@@ -8284,9 +8277,10 @@ function getGithubSdk(params = {}) {
|
|
|
8284
8277
|
startingLine: range.startingLine,
|
|
8285
8278
|
endingLine: range.endingLine,
|
|
8286
8279
|
commitSha: range.commit.oid,
|
|
8287
|
-
|
|
8288
|
-
|
|
8289
|
-
|
|
8280
|
+
// This is an urgent fix. We need to later remove these fields from the return type and propagate the change.
|
|
8281
|
+
email: "",
|
|
8282
|
+
name: "",
|
|
8283
|
+
login: ""
|
|
8290
8284
|
}));
|
|
8291
8285
|
}
|
|
8292
8286
|
return void 0;
|