mobbdev 1.1.16 → 1.1.17

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.
@@ -51,26 +51,18 @@ declare const PromptItemZ: z.ZodObject<{
51
51
  name: string;
52
52
  parameters: string;
53
53
  result: string;
54
- accepted?: boolean | undefined;
55
54
  rawArguments?: string | undefined;
55
+ accepted?: boolean | undefined;
56
56
  }, {
57
57
  name: string;
58
58
  parameters: string;
59
59
  result: string;
60
- accepted?: boolean | undefined;
61
60
  rawArguments?: string | undefined;
61
+ accepted?: boolean | 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;
72
65
  date?: Date | undefined;
73
- text?: string | undefined;
74
66
  attachedFiles?: {
75
67
  relativePath: string;
76
68
  startLine?: number | undefined;
@@ -79,17 +71,17 @@ declare const PromptItemZ: z.ZodObject<{
79
71
  inputCount: number;
80
72
  outputCount: number;
81
73
  } | undefined;
82
- }, {
83
- type: "USER_PROMPT" | "AI_RESPONSE" | "TOOL_EXECUTION" | "AI_THINKING";
74
+ text?: string | undefined;
84
75
  tool?: {
85
76
  name: string;
86
77
  parameters: string;
87
78
  result: string;
88
- accepted?: boolean | undefined;
89
79
  rawArguments?: string | undefined;
80
+ accepted?: boolean | undefined;
90
81
  } | undefined;
82
+ }, {
83
+ type: "USER_PROMPT" | "AI_RESPONSE" | "TOOL_EXECUTION" | "AI_THINKING";
91
84
  date?: Date | undefined;
92
- text?: string | undefined;
93
85
  attachedFiles?: {
94
86
  relativePath: string;
95
87
  startLine?: number | undefined;
@@ -98,6 +90,14 @@ declare const PromptItemZ: z.ZodObject<{
98
90
  inputCount: number;
99
91
  outputCount: number;
100
92
  } | 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,26 +134,18 @@ declare const PromptItemArrayZ: z.ZodArray<z.ZodObject<{
134
134
  name: string;
135
135
  parameters: string;
136
136
  result: string;
137
- accepted?: boolean | undefined;
138
137
  rawArguments?: string | undefined;
138
+ accepted?: boolean | undefined;
139
139
  }, {
140
140
  name: string;
141
141
  parameters: string;
142
142
  result: string;
143
- accepted?: boolean | undefined;
144
143
  rawArguments?: string | undefined;
144
+ accepted?: boolean | 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;
155
148
  date?: Date | undefined;
156
- text?: string | undefined;
157
149
  attachedFiles?: {
158
150
  relativePath: string;
159
151
  startLine?: number | undefined;
@@ -162,17 +154,17 @@ declare const PromptItemArrayZ: z.ZodArray<z.ZodObject<{
162
154
  inputCount: number;
163
155
  outputCount: number;
164
156
  } | undefined;
165
- }, {
166
- type: "USER_PROMPT" | "AI_RESPONSE" | "TOOL_EXECUTION" | "AI_THINKING";
157
+ text?: string | undefined;
167
158
  tool?: {
168
159
  name: string;
169
160
  parameters: string;
170
161
  result: string;
171
- accepted?: boolean | undefined;
172
162
  rawArguments?: string | undefined;
163
+ accepted?: boolean | undefined;
173
164
  } | undefined;
165
+ }, {
166
+ type: "USER_PROMPT" | "AI_RESPONSE" | "TOOL_EXECUTION" | "AI_THINKING";
174
167
  date?: Date | undefined;
175
- text?: string | undefined;
176
168
  attachedFiles?: {
177
169
  relativePath: string;
178
170
  startLine?: number | undefined;
@@ -181,6 +173,14 @@ declare const PromptItemArrayZ: z.ZodArray<z.ZodObject<{
181
173
  inputCount: number;
182
174
  outputCount: number;
183
175
  } | 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mobbdev",
3
- "version": "1.1.16",
3
+ "version": "1.1.17",
4
4
  "description": "Automated secure code remediation tool",
5
5
  "repository": "git+https://github.com/mobb-dev/bugsy.git",
6
6
  "main": "dist/index.mjs",