mobbdev 1.2.59 → 1.2.60

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
- text?: string | undefined;
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
- text?: string | undefined;
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
  /**
package/dist/index.mjs CHANGED
@@ -6468,27 +6468,6 @@ function getCommitUrl(params) {
6468
6468
  analysisId
6469
6469
  })}/commit?${searchParams.toString()}`;
6470
6470
  }
6471
- function getCommitIssueUrl(params) {
6472
- const {
6473
- issueId,
6474
- projectId,
6475
- organizationId,
6476
- analysisId,
6477
- redirectUrl,
6478
- appBaseUrl,
6479
- commentId
6480
- } = params;
6481
- const searchParams = new URLSearchParams();
6482
- searchParams.append("redirect_url", redirectUrl);
6483
- searchParams.append("comment_id", commentId.toString());
6484
- return `${getIssueUrl({
6485
- appBaseUrl,
6486
- issueId,
6487
- projectId,
6488
- organizationId,
6489
- analysisId
6490
- })}/commit?${searchParams.toString()}`;
6491
- }
6492
6471
  function extractLinearTicketsFromBody(body, seen) {
6493
6472
  const tickets = [];
6494
6473
  const htmlPattern = /<a href="(https:\/\/linear\.app\/[^"]+)">([A-Z]+-\d+)<\/a>/g;
@@ -14263,15 +14242,7 @@ function buildFixCommentBody({
14263
14242
  irrelevantIssueWithTags
14264
14243
  }) {
14265
14244
  const isIrrelevantIssueWithTags = irrelevantIssueWithTags?.[0]?.tag;
14266
- const commitUrl = isIrrelevantIssueWithTags ? getCommitIssueUrl({
14267
- appBaseUrl: WEB_APP_URL,
14268
- issueId,
14269
- projectId,
14270
- analysisId,
14271
- organizationId,
14272
- redirectUrl: commentUrl,
14273
- commentId
14274
- }) : getCommitUrl({
14245
+ const commitUrl = getCommitUrl({
14275
14246
  appBaseUrl: WEB_APP_URL,
14276
14247
  fixId,
14277
14248
  projectId,
@@ -16710,7 +16681,7 @@ function createLogger(config2) {
16710
16681
 
16711
16682
  // src/features/claude_code/hook_logger.ts
16712
16683
  var DD_RUM_TOKEN = true ? "pubf59c0182545bfb4c299175119f1abf9b" : "";
16713
- var CLI_VERSION = true ? "1.2.59" : "unknown";
16684
+ var CLI_VERSION = true ? "1.2.60" : "unknown";
16714
16685
  var NAMESPACE = "mobbdev-claude-code-hook-logs";
16715
16686
  function createHookLogger(scopePath) {
16716
16687
  return createLogger({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mobbdev",
3
- "version": "1.2.59",
3
+ "version": "1.2.60",
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",