@superblocksteam/vite-plugin-file-sync 2.0.173-next.1 → 2.0.173-next.2
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/ai-service/agent/tools/apis/get-api-docs.d.ts +1 -1
- package/dist/ai-service/agent/tools/apis/test-api.d.ts +2 -2
- package/dist/ai-service/agent/tools/apis/write-api.d.ts +1 -1
- package/dist/ai-service/agent/tools/build-copy-directory.d.ts +2 -2
- package/dist/ai-service/agent/tools/build-copy-file.d.ts +1 -1
- package/dist/ai-service/agent/tools/build-copy-utils.d.ts +8 -8
- package/dist/ai-service/agent/tools/build-delete-file.d.ts +1 -1
- package/dist/ai-service/agent/tools/build-manage-checklist.d.ts +3 -3
- package/dist/ai-service/agent/tools/build-manage-packages.d.ts +1 -1
- package/dist/ai-service/agent/tools/databases/dev-database-tasks.d.ts +8 -8
- package/dist/ai-service/agent/tools/get-logs.d.ts +3 -3
- package/dist/ai-service/agent/tools/get-security-findings.d.ts +1 -1
- package/dist/ai-service/agent/tools/integrations/execute-request.d.ts +10 -10
- package/dist/ai-service/agent/tools/report-security-findings.d.ts +18 -18
- package/dist/ai-service/agent/tools2/tools/bash.d.ts +1 -1
- package/dist/ai-service/agent/tools2/tools/git.d.ts +2 -2
- package/dist/ai-service/agent/tools2/tools/grep-metadata.d.ts +1 -1
- package/dist/ai-service/agent/tools2/tools/grep.d.ts +1 -1
- package/dist/ai-service/agent/tools2/tools/list-attachments.d.ts +1 -1
- package/dist/ai-service/checklist/remediation-findings-client.d.ts +1 -1
- package/dist/ai-service/edit-after-clark.d.ts.map +1 -1
- package/dist/ai-service/edit-after-clark.js +10 -5
- package/dist/ai-service/edit-after-clark.js.map +1 -1
- package/dist/ai-service/judge/tools/playwright-action.d.ts +1 -1
- package/dist/ai-service/judge/tools/submit-feedback.d.ts +1 -1
- package/dist/ai-service/llm/context-v2/storage/event-types.d.ts +12 -12
- package/dist/ai-service/state-machine/helpers/prompt-request-metrics.d.ts +1 -1
- package/dist/git-service/index.d.ts.map +1 -1
- package/dist/git-service/index.js +15 -4
- package/dist/git-service/index.js.map +1 -1
- package/package.json +8 -8
|
@@ -55,7 +55,7 @@ export declare function buildIntegrationDocumentation(integrationIds: string[],
|
|
|
55
55
|
export declare function getRelevantExamples(integrationIds: string[], services: ClarkStateHandlerParams): string;
|
|
56
56
|
export declare const getApiDocsToolFactory: import("../../tools2/types.js").ToolFactory<ClarkStateHandlerParams, import("../../tools2/types.js").Tool<{
|
|
57
57
|
integrationIds?: string[] | undefined;
|
|
58
|
-
sections?: ("
|
|
58
|
+
sections?: ("checklist" | "examples" | "error-handling" | "core" | "types" | "integration-workflow" | "scoping" | "patterns" | "sql-best-practices" | "database-naming" | "response-interface" | "runtime-safety" | "error-recovery" | "loop-control" | "api-structure" | "critical-mistakes" | "built-in-blocks")[] | undefined;
|
|
59
59
|
verbosity?: "minimal" | "standard" | "comprehensive" | undefined;
|
|
60
60
|
}, {
|
|
61
61
|
documentation: string;
|
|
@@ -9,10 +9,10 @@ export declare const testApiToolFactory: import("../../tools2/types.js").ToolFac
|
|
|
9
9
|
clark: Clark;
|
|
10
10
|
services: ClarkStateHandlerParams;
|
|
11
11
|
}, import("../../tools2/types.js").Tool<{
|
|
12
|
-
apiName: string;
|
|
13
12
|
inputs: Record<string, any>;
|
|
14
|
-
|
|
13
|
+
apiName: string;
|
|
15
14
|
timeout?: number | undefined;
|
|
15
|
+
description?: string | undefined;
|
|
16
16
|
omitStepOutputs?: boolean | undefined;
|
|
17
17
|
attachmentInputs?: Record<string, string[]> | undefined;
|
|
18
18
|
}, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ClarkStateHandlerParams } from "../../../state-machine/clark-fsm.js";
|
|
2
2
|
export declare const writeApiToolFactory: import("../../tools2/types.js").ToolFactory<ClarkStateHandlerParams, import("../../tools2/types.js").Tool<{
|
|
3
|
-
action: "edit" | "create";
|
|
4
3
|
apiName: string;
|
|
4
|
+
action: "edit" | "create";
|
|
5
5
|
apiSource: string;
|
|
6
6
|
}, {
|
|
7
7
|
message: string;
|
|
@@ -4,9 +4,9 @@ export declare const buildCopyDirectoryToolFactory: import("../tools2/types.js")
|
|
|
4
4
|
clark: Clark;
|
|
5
5
|
services: Pick<ClarkStateHandlerParams, "appShell">;
|
|
6
6
|
}, import("../tools2/types.js").Tool<{
|
|
7
|
-
sourceDir: string;
|
|
8
7
|
destinationDir: string;
|
|
9
|
-
|
|
8
|
+
sourceDir: string;
|
|
9
|
+
conflictStrategy?: "replace" | "fail" | "skip" | undefined;
|
|
10
10
|
verbose?: boolean | undefined;
|
|
11
11
|
}, import("../../app-interface/shell.js").CopyToolResult>>;
|
|
12
12
|
//# sourceMappingURL=build-copy-directory.d.ts.map
|
|
@@ -6,7 +6,7 @@ export declare const buildCopyFileToolFactory: import("../tools2/types.js").Tool
|
|
|
6
6
|
}, import("../tools2/types.js").Tool<{
|
|
7
7
|
destinationPath: string;
|
|
8
8
|
sourcePath: string;
|
|
9
|
-
conflictStrategy?: "replace" | "
|
|
9
|
+
conflictStrategy?: "replace" | "fail" | "skip" | undefined;
|
|
10
10
|
verbose?: boolean | undefined;
|
|
11
11
|
}, import("../../app-interface/shell.js").CopyToolResult>>;
|
|
12
12
|
//# sourceMappingURL=build-copy-file.d.ts.map
|
|
@@ -8,22 +8,22 @@ export declare const copyToolResultSchema: z.ZodObject<{
|
|
|
8
8
|
path: z.ZodString;
|
|
9
9
|
reason: z.ZodString;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
reason: string;
|
|
12
11
|
path: string;
|
|
13
|
-
}, {
|
|
14
12
|
reason: string;
|
|
13
|
+
}, {
|
|
15
14
|
path: string;
|
|
15
|
+
reason: string;
|
|
16
16
|
}>, "many">>;
|
|
17
17
|
rejectedCount: z.ZodNumber;
|
|
18
18
|
skipped: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
19
19
|
path: z.ZodString;
|
|
20
20
|
reason: z.ZodEnum<["destination_exists", "default_excluded"]>;
|
|
21
21
|
}, "strip", z.ZodTypeAny, {
|
|
22
|
-
reason: "destination_exists" | "default_excluded";
|
|
23
22
|
path: string;
|
|
24
|
-
}, {
|
|
25
23
|
reason: "destination_exists" | "default_excluded";
|
|
24
|
+
}, {
|
|
26
25
|
path: string;
|
|
26
|
+
reason: "destination_exists" | "default_excluded";
|
|
27
27
|
}>, "many">>;
|
|
28
28
|
skippedCount: z.ZodNumber;
|
|
29
29
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -31,12 +31,12 @@ export declare const copyToolResultSchema: z.ZodObject<{
|
|
|
31
31
|
rejectedCount: number;
|
|
32
32
|
skippedCount: number;
|
|
33
33
|
rejected?: {
|
|
34
|
-
reason: string;
|
|
35
34
|
path: string;
|
|
35
|
+
reason: string;
|
|
36
36
|
}[] | undefined;
|
|
37
37
|
skipped?: {
|
|
38
|
-
reason: "destination_exists" | "default_excluded";
|
|
39
38
|
path: string;
|
|
39
|
+
reason: "destination_exists" | "default_excluded";
|
|
40
40
|
}[] | undefined;
|
|
41
41
|
copied?: string[] | undefined;
|
|
42
42
|
}, {
|
|
@@ -44,12 +44,12 @@ export declare const copyToolResultSchema: z.ZodObject<{
|
|
|
44
44
|
rejectedCount: number;
|
|
45
45
|
skippedCount: number;
|
|
46
46
|
rejected?: {
|
|
47
|
-
reason: string;
|
|
48
47
|
path: string;
|
|
48
|
+
reason: string;
|
|
49
49
|
}[] | undefined;
|
|
50
50
|
skipped?: {
|
|
51
|
-
reason: "destination_exists" | "default_excluded";
|
|
52
51
|
path: string;
|
|
52
|
+
reason: "destination_exists" | "default_excluded";
|
|
53
53
|
}[] | undefined;
|
|
54
54
|
copied?: string[] | undefined;
|
|
55
55
|
}>;
|
|
@@ -20,7 +20,7 @@ export declare const buildDeleteFileToolFactory: import("../tools2/types.js").To
|
|
|
20
20
|
reason?: string | undefined;
|
|
21
21
|
}, {
|
|
22
22
|
filePath: string;
|
|
23
|
-
type: "
|
|
23
|
+
type: "api" | "page" | "file";
|
|
24
24
|
message: string;
|
|
25
25
|
reason: string | undefined;
|
|
26
26
|
}>>;
|
|
@@ -22,14 +22,14 @@ export declare const checkChecklistCompletion: (appRootDirPath: string) => Promi
|
|
|
22
22
|
pendingTasks: ChecklistItem[];
|
|
23
23
|
}>;
|
|
24
24
|
export declare const buildManageChecklistToolFactory: import("../tools2/types.js").ToolFactory<BuildManageChecklistDependencies, import("../tools2/types.js").Tool<{
|
|
25
|
-
action: "
|
|
25
|
+
action: "add" | "get" | "update" | "clear";
|
|
26
26
|
status?: "failed" | "pending" | "cancelled" | "completed" | "in_progress" | undefined;
|
|
27
27
|
content?: string | undefined;
|
|
28
28
|
limit?: number | undefined;
|
|
29
29
|
offset?: number | undefined;
|
|
30
|
-
clearOnFinalize?: boolean | undefined;
|
|
31
|
-
failureReason?: string | undefined;
|
|
32
30
|
itemId?: string | undefined;
|
|
31
|
+
failureReason?: string | undefined;
|
|
32
|
+
clearOnFinalize?: boolean | undefined;
|
|
33
33
|
}, {
|
|
34
34
|
success: boolean;
|
|
35
35
|
action: string;
|
|
@@ -7,7 +7,7 @@ type ManagePackagesToolResult = {
|
|
|
7
7
|
output?: string;
|
|
8
8
|
};
|
|
9
9
|
export declare const buildManagePackagesToolFactory: import("../tools2/types.js").ToolFactory<PackageToolDeps, import("../tools2/types.js").Tool<{
|
|
10
|
-
action: "update" | "
|
|
10
|
+
action: "update" | "install" | "remove" | "remove_override" | "set_override";
|
|
11
11
|
packages?: {
|
|
12
12
|
name: string;
|
|
13
13
|
version?: string | undefined;
|
|
@@ -104,33 +104,33 @@ declare const provisionHandleSchema: z.ZodObject<{
|
|
|
104
104
|
tagCount: z.ZodOptional<z.ZodNumber>;
|
|
105
105
|
watchKind: z.ZodOptional<z.ZodEnum<["provision", "migration"]>>;
|
|
106
106
|
}, "strip", z.ZodTypeAny, {
|
|
107
|
-
bindingKey: string;
|
|
108
107
|
requirement: {
|
|
109
108
|
logicalName: string;
|
|
110
109
|
migrationDirectory?: string | undefined;
|
|
111
110
|
};
|
|
111
|
+
bindingKey: string;
|
|
112
112
|
integrationId?: string | undefined;
|
|
113
113
|
lifecycleState?: string | undefined;
|
|
114
114
|
profile?: string | undefined;
|
|
115
115
|
requestId?: string | undefined;
|
|
116
116
|
tagCount?: number | undefined;
|
|
117
|
-
engine?: string | undefined;
|
|
118
117
|
logicalName?: string | undefined;
|
|
118
|
+
engine?: string | undefined;
|
|
119
119
|
siblingTaskIds?: string[] | undefined;
|
|
120
120
|
watchKind?: "provision" | "migration" | undefined;
|
|
121
121
|
}, {
|
|
122
|
-
bindingKey: string;
|
|
123
122
|
requirement: {
|
|
124
123
|
logicalName: string;
|
|
125
124
|
migrationDirectory?: string | undefined;
|
|
126
125
|
};
|
|
126
|
+
bindingKey: string;
|
|
127
127
|
integrationId?: string | undefined;
|
|
128
128
|
lifecycleState?: string | undefined;
|
|
129
129
|
profile?: string | undefined;
|
|
130
130
|
requestId?: string | undefined;
|
|
131
131
|
tagCount?: number | undefined;
|
|
132
|
-
engine?: string | undefined;
|
|
133
132
|
logicalName?: string | undefined;
|
|
133
|
+
engine?: string | undefined;
|
|
134
134
|
siblingTaskIds?: string[] | undefined;
|
|
135
135
|
watchKind?: "provision" | "migration" | undefined;
|
|
136
136
|
}>;
|
|
@@ -229,33 +229,33 @@ export declare const provisionDevDatabaseTaskMetadata: {
|
|
|
229
229
|
tagCount: z.ZodOptional<z.ZodNumber>;
|
|
230
230
|
watchKind: z.ZodOptional<z.ZodEnum<["provision", "migration"]>>;
|
|
231
231
|
}, "strip", z.ZodTypeAny, {
|
|
232
|
-
bindingKey: string;
|
|
233
232
|
requirement: {
|
|
234
233
|
logicalName: string;
|
|
235
234
|
migrationDirectory?: string | undefined;
|
|
236
235
|
};
|
|
236
|
+
bindingKey: string;
|
|
237
237
|
integrationId?: string | undefined;
|
|
238
238
|
lifecycleState?: string | undefined;
|
|
239
239
|
profile?: string | undefined;
|
|
240
240
|
requestId?: string | undefined;
|
|
241
241
|
tagCount?: number | undefined;
|
|
242
|
-
engine?: string | undefined;
|
|
243
242
|
logicalName?: string | undefined;
|
|
243
|
+
engine?: string | undefined;
|
|
244
244
|
siblingTaskIds?: string[] | undefined;
|
|
245
245
|
watchKind?: "provision" | "migration" | undefined;
|
|
246
246
|
}, {
|
|
247
|
-
bindingKey: string;
|
|
248
247
|
requirement: {
|
|
249
248
|
logicalName: string;
|
|
250
249
|
migrationDirectory?: string | undefined;
|
|
251
250
|
};
|
|
251
|
+
bindingKey: string;
|
|
252
252
|
integrationId?: string | undefined;
|
|
253
253
|
lifecycleState?: string | undefined;
|
|
254
254
|
profile?: string | undefined;
|
|
255
255
|
requestId?: string | undefined;
|
|
256
256
|
tagCount?: number | undefined;
|
|
257
|
-
engine?: string | undefined;
|
|
258
257
|
logicalName?: string | undefined;
|
|
258
|
+
engine?: string | undefined;
|
|
259
259
|
siblingTaskIds?: string[] | undefined;
|
|
260
260
|
watchKind?: "provision" | "migration" | undefined;
|
|
261
261
|
}>;
|
|
@@ -36,10 +36,10 @@ export declare const buildGetLogsToolFactory: import("../tools2/types.js").ToolF
|
|
|
36
36
|
clark: Clark;
|
|
37
37
|
services: ClarkStateHandlerParams;
|
|
38
38
|
}, import("../tools2/types.js").Tool<{
|
|
39
|
-
prefix?: string | undefined;
|
|
40
39
|
limit?: number | undefined;
|
|
41
|
-
level?: "error" | "
|
|
40
|
+
level?: "error" | "warn" | "info" | "log" | "debug" | undefined;
|
|
42
41
|
includeStepOutputs?: boolean | undefined;
|
|
42
|
+
prefix?: string | undefined;
|
|
43
43
|
apiId?: string | undefined;
|
|
44
44
|
fullContent?: boolean | undefined;
|
|
45
45
|
maxMessageLength?: number | undefined;
|
|
@@ -59,7 +59,7 @@ export declare const buildGetLogsToolFactory: import("../tools2/types.js").ToolF
|
|
|
59
59
|
id: string;
|
|
60
60
|
timestamp: number | undefined;
|
|
61
61
|
timeAgo: string;
|
|
62
|
-
level: "error" | "
|
|
62
|
+
level: "error" | "warn" | "info" | "log" | "debug";
|
|
63
63
|
message: string;
|
|
64
64
|
messageTruncated: boolean;
|
|
65
65
|
messageOriginalLength: number | undefined;
|
|
@@ -38,7 +38,7 @@ export declare const getSecurityFindingsToolFactory: import("../tools2/types.js"
|
|
|
38
38
|
id: string;
|
|
39
39
|
sourcePhase: string | null;
|
|
40
40
|
title: string;
|
|
41
|
-
severity: "
|
|
41
|
+
severity: "critical" | "info" | "medium" | "low" | "high";
|
|
42
42
|
}[];
|
|
43
43
|
}>>;
|
|
44
44
|
export {};
|
|
@@ -66,13 +66,13 @@ declare const inputSchema: z.ZodObject<{
|
|
|
66
66
|
body: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
|
|
67
67
|
}, "strip", z.ZodTypeAny, {
|
|
68
68
|
path: string;
|
|
69
|
-
httpMethod: "
|
|
69
|
+
httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
70
70
|
body?: string | undefined;
|
|
71
71
|
headers?: Record<string, string> | undefined;
|
|
72
72
|
queryParams?: Record<string, string> | undefined;
|
|
73
73
|
}, {
|
|
74
74
|
path: string;
|
|
75
|
-
httpMethod: "
|
|
75
|
+
httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
76
76
|
body?: string | undefined;
|
|
77
77
|
headers?: Record<string, string> | undefined;
|
|
78
78
|
queryParams?: Record<string, string> | undefined;
|
|
@@ -81,7 +81,7 @@ declare const inputSchema: z.ZodObject<{
|
|
|
81
81
|
type: "rest";
|
|
82
82
|
httpRequest: {
|
|
83
83
|
path: string;
|
|
84
|
-
httpMethod: "
|
|
84
|
+
httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
85
85
|
body?: string | undefined;
|
|
86
86
|
headers?: Record<string, string> | undefined;
|
|
87
87
|
queryParams?: Record<string, string> | undefined;
|
|
@@ -90,7 +90,7 @@ declare const inputSchema: z.ZodObject<{
|
|
|
90
90
|
type: "rest";
|
|
91
91
|
httpRequest: {
|
|
92
92
|
path: string;
|
|
93
|
-
httpMethod: "
|
|
93
|
+
httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
94
94
|
body?: string | undefined;
|
|
95
95
|
headers?: Record<string, string> | undefined;
|
|
96
96
|
queryParams?: Record<string, string> | undefined;
|
|
@@ -244,12 +244,12 @@ declare const inputSchema: z.ZodObject<{
|
|
|
244
244
|
body: string;
|
|
245
245
|
}>]>;
|
|
246
246
|
}, "strip", z.ZodTypeAny, {
|
|
247
|
+
operation: "read" | "write";
|
|
247
248
|
description: {
|
|
248
249
|
request: string;
|
|
249
250
|
present: string;
|
|
250
251
|
past: string;
|
|
251
252
|
};
|
|
252
|
-
operation: "write" | "read";
|
|
253
253
|
params: {
|
|
254
254
|
type: "sql";
|
|
255
255
|
query: string;
|
|
@@ -264,7 +264,7 @@ declare const inputSchema: z.ZodObject<{
|
|
|
264
264
|
type: "rest";
|
|
265
265
|
httpRequest: {
|
|
266
266
|
path: string;
|
|
267
|
-
httpMethod: "
|
|
267
|
+
httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
268
268
|
body?: string | undefined;
|
|
269
269
|
headers?: Record<string, string> | undefined;
|
|
270
270
|
queryParams?: Record<string, string> | undefined;
|
|
@@ -319,12 +319,12 @@ declare const inputSchema: z.ZodObject<{
|
|
|
319
319
|
};
|
|
320
320
|
integrationId: string;
|
|
321
321
|
}, {
|
|
322
|
+
operation: "read" | "write";
|
|
322
323
|
description: {
|
|
323
324
|
request: string;
|
|
324
325
|
present: string;
|
|
325
326
|
past: string;
|
|
326
327
|
};
|
|
327
|
-
operation: "write" | "read";
|
|
328
328
|
params: {
|
|
329
329
|
type: "sql";
|
|
330
330
|
query: string;
|
|
@@ -339,7 +339,7 @@ declare const inputSchema: z.ZodObject<{
|
|
|
339
339
|
type: "rest";
|
|
340
340
|
httpRequest: {
|
|
341
341
|
path: string;
|
|
342
|
-
httpMethod: "
|
|
342
|
+
httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
343
343
|
body?: string | undefined;
|
|
344
344
|
headers?: Record<string, string> | undefined;
|
|
345
345
|
queryParams?: Record<string, string> | undefined;
|
|
@@ -399,12 +399,12 @@ export declare const executeRequestToIntegrationToolFactory: import("../../tools
|
|
|
399
399
|
clark: Clark;
|
|
400
400
|
services: ClarkStateHandlerParams;
|
|
401
401
|
}, import("../../tools2/types.js").Tool<{
|
|
402
|
+
operation: "read" | "write";
|
|
402
403
|
description: {
|
|
403
404
|
request: string;
|
|
404
405
|
present: string;
|
|
405
406
|
past: string;
|
|
406
407
|
};
|
|
407
|
-
operation: "write" | "read";
|
|
408
408
|
params: {
|
|
409
409
|
type: "sql";
|
|
410
410
|
query: string;
|
|
@@ -419,7 +419,7 @@ export declare const executeRequestToIntegrationToolFactory: import("../../tools
|
|
|
419
419
|
type: "rest";
|
|
420
420
|
httpRequest: {
|
|
421
421
|
path: string;
|
|
422
|
-
httpMethod: "
|
|
422
|
+
httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
423
423
|
body?: string | undefined;
|
|
424
424
|
headers?: Record<string, string> | undefined;
|
|
425
425
|
queryParams?: Record<string, string> | undefined;
|
|
@@ -25,10 +25,10 @@ declare const securityScanResultSchema: z.ZodObject<{
|
|
|
25
25
|
title: z.ZodString;
|
|
26
26
|
}, "strip", z.ZodTypeAny, {
|
|
27
27
|
description: string;
|
|
28
|
-
|
|
29
|
-
category: "secret" | "config" | "auth" | "other" | "crypto" | "data_exposure" | "injection" | "xss";
|
|
28
|
+
category: "config" | "auth" | "other" | "crypto" | "data_exposure" | "injection" | "secret" | "xss";
|
|
30
29
|
title: string;
|
|
31
|
-
|
|
30
|
+
id: string;
|
|
31
|
+
severity: "critical" | "info" | "medium" | "low" | "high";
|
|
32
32
|
clarkRemediable: boolean;
|
|
33
33
|
confidence: "medium" | "low" | "high";
|
|
34
34
|
evidence: string;
|
|
@@ -40,9 +40,9 @@ declare const securityScanResultSchema: z.ZodObject<{
|
|
|
40
40
|
suggestedFix?: string | undefined;
|
|
41
41
|
}, {
|
|
42
42
|
description: string;
|
|
43
|
-
id: string;
|
|
44
43
|
title: string;
|
|
45
|
-
|
|
44
|
+
id: string;
|
|
45
|
+
severity: "critical" | "info" | "medium" | "low" | "high";
|
|
46
46
|
confidence: "medium" | "low" | "high";
|
|
47
47
|
evidence: string;
|
|
48
48
|
location: {
|
|
@@ -64,15 +64,15 @@ declare const securityScanResultSchema: z.ZodObject<{
|
|
|
64
64
|
medium: z.ZodNumber;
|
|
65
65
|
total: z.ZodNumber;
|
|
66
66
|
}, "strip", z.ZodTypeAny, {
|
|
67
|
-
info: number;
|
|
68
67
|
critical: number;
|
|
68
|
+
info: number;
|
|
69
69
|
medium: number;
|
|
70
70
|
low: number;
|
|
71
71
|
high: number;
|
|
72
72
|
total: number;
|
|
73
73
|
}, {
|
|
74
|
-
info: number;
|
|
75
74
|
critical: number;
|
|
75
|
+
info: number;
|
|
76
76
|
medium: number;
|
|
77
77
|
low: number;
|
|
78
78
|
high: number;
|
|
@@ -80,8 +80,8 @@ declare const securityScanResultSchema: z.ZodObject<{
|
|
|
80
80
|
}>;
|
|
81
81
|
}, "strip", z.ZodTypeAny, {
|
|
82
82
|
summary: {
|
|
83
|
-
info: number;
|
|
84
83
|
critical: number;
|
|
84
|
+
info: number;
|
|
85
85
|
medium: number;
|
|
86
86
|
low: number;
|
|
87
87
|
high: number;
|
|
@@ -89,10 +89,10 @@ declare const securityScanResultSchema: z.ZodObject<{
|
|
|
89
89
|
};
|
|
90
90
|
findings: {
|
|
91
91
|
description: string;
|
|
92
|
-
|
|
93
|
-
category: "secret" | "config" | "auth" | "other" | "crypto" | "data_exposure" | "injection" | "xss";
|
|
92
|
+
category: "config" | "auth" | "other" | "crypto" | "data_exposure" | "injection" | "secret" | "xss";
|
|
94
93
|
title: string;
|
|
95
|
-
|
|
94
|
+
id: string;
|
|
95
|
+
severity: "critical" | "info" | "medium" | "low" | "high";
|
|
96
96
|
clarkRemediable: boolean;
|
|
97
97
|
confidence: "medium" | "low" | "high";
|
|
98
98
|
evidence: string;
|
|
@@ -107,8 +107,8 @@ declare const securityScanResultSchema: z.ZodObject<{
|
|
|
107
107
|
scannedFiles: number;
|
|
108
108
|
}, {
|
|
109
109
|
summary: {
|
|
110
|
-
info: number;
|
|
111
110
|
critical: number;
|
|
111
|
+
info: number;
|
|
112
112
|
medium: number;
|
|
113
113
|
low: number;
|
|
114
114
|
high: number;
|
|
@@ -116,9 +116,9 @@ declare const securityScanResultSchema: z.ZodObject<{
|
|
|
116
116
|
};
|
|
117
117
|
findings: {
|
|
118
118
|
description: string;
|
|
119
|
-
id: string;
|
|
120
119
|
title: string;
|
|
121
|
-
|
|
120
|
+
id: string;
|
|
121
|
+
severity: "critical" | "info" | "medium" | "low" | "high";
|
|
122
122
|
confidence: "medium" | "low" | "high";
|
|
123
123
|
evidence: string;
|
|
124
124
|
location: {
|
|
@@ -137,8 +137,8 @@ export { securityScanResultSchema };
|
|
|
137
137
|
export type ReportReviewRunInput = z.infer<typeof securityScanResultSchema>;
|
|
138
138
|
export declare const reportReviewRunToolFactory: import("../tools2/types.js").ToolFactory<unknown, import("../tools2/types.js").Tool<{
|
|
139
139
|
summary: {
|
|
140
|
-
info: number;
|
|
141
140
|
critical: number;
|
|
141
|
+
info: number;
|
|
142
142
|
medium: number;
|
|
143
143
|
low: number;
|
|
144
144
|
high: number;
|
|
@@ -146,10 +146,10 @@ export declare const reportReviewRunToolFactory: import("../tools2/types.js").To
|
|
|
146
146
|
};
|
|
147
147
|
findings: {
|
|
148
148
|
description: string;
|
|
149
|
-
|
|
150
|
-
category: "secret" | "config" | "auth" | "other" | "crypto" | "data_exposure" | "injection" | "xss";
|
|
149
|
+
category: "config" | "auth" | "other" | "crypto" | "data_exposure" | "injection" | "secret" | "xss";
|
|
151
150
|
title: string;
|
|
152
|
-
|
|
151
|
+
id: string;
|
|
152
|
+
severity: "critical" | "info" | "medium" | "low" | "high";
|
|
153
153
|
clarkRemediable: boolean;
|
|
154
154
|
confidence: "medium" | "low" | "high";
|
|
155
155
|
evidence: string;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export declare const bashToolFactory: import("../types.js").ToolFactory<unknown, import("../types.js").Tool<{
|
|
5
5
|
command: string;
|
|
6
|
-
description?: string | undefined;
|
|
7
6
|
timeout?: number | undefined;
|
|
7
|
+
description?: string | undefined;
|
|
8
8
|
run_in_background?: boolean | undefined;
|
|
9
9
|
}, {
|
|
10
10
|
success: boolean;
|
|
@@ -48,13 +48,13 @@ export interface GitToolDeps {
|
|
|
48
48
|
deployService?: GitDeployService;
|
|
49
49
|
}
|
|
50
50
|
export declare const gitToolFactory: import("../types.js").ToolFactory<GitToolDeps, import("../types.js").Tool<{
|
|
51
|
-
operation: "status" | "commit" | "
|
|
52
|
-
body?: string | undefined;
|
|
51
|
+
operation: "status" | "commit" | "create_pr" | "deploy" | "diff" | "log" | "log_from_main" | "merge_abort" | "pull" | "stage";
|
|
53
52
|
message?: string | undefined;
|
|
54
53
|
title?: string | undefined;
|
|
55
54
|
count?: number | undefined;
|
|
56
55
|
staged?: boolean | undefined;
|
|
57
56
|
paths?: string[] | undefined;
|
|
57
|
+
body?: string | undefined;
|
|
58
58
|
sha?: string | undefined;
|
|
59
59
|
}, {
|
|
60
60
|
aborted: true;
|
|
@@ -67,9 +67,9 @@ export declare const grepMetadataToolFactory: import("../types.js").ToolFactory<
|
|
|
67
67
|
}, import("../types.js").Tool<{
|
|
68
68
|
integrationId: string;
|
|
69
69
|
grepPattern: string;
|
|
70
|
-
startIndex?: number | undefined;
|
|
71
70
|
forceRefresh?: boolean | undefined;
|
|
72
71
|
includeDetails?: boolean | undefined;
|
|
72
|
+
startIndex?: number | undefined;
|
|
73
73
|
}, {
|
|
74
74
|
error: string;
|
|
75
75
|
matches: never[];
|
|
@@ -9,12 +9,12 @@ export declare const grepToolFactory: import("../types.js").ToolFactory<Deps, im
|
|
|
9
9
|
pattern: string;
|
|
10
10
|
type?: string | undefined;
|
|
11
11
|
path?: string | undefined;
|
|
12
|
-
"-B"?: number | undefined;
|
|
13
12
|
"-n"?: boolean | undefined;
|
|
14
13
|
glob?: string | undefined;
|
|
15
14
|
"-i"?: boolean | undefined;
|
|
16
15
|
output_mode?: "content" | "count" | "files_with_matches" | undefined;
|
|
17
16
|
"-A"?: number | undefined;
|
|
17
|
+
"-B"?: number | undefined;
|
|
18
18
|
"-C"?: number | undefined;
|
|
19
19
|
head_limit?: number | undefined;
|
|
20
20
|
multiline?: boolean | undefined;
|
|
@@ -4,8 +4,8 @@ export declare const listAttachmentsToolFactory: import("../types.js").ToolFacto
|
|
|
4
4
|
clark: Clark;
|
|
5
5
|
services: ClarkStateHandlerParams;
|
|
6
6
|
}, import("../types.js").Tool<{
|
|
7
|
-
scopeType?: "app" | "org" | undefined;
|
|
8
7
|
mediaType?: string | undefined;
|
|
8
|
+
scopeType?: "org" | "app" | undefined;
|
|
9
9
|
}, {
|
|
10
10
|
attachments: never[];
|
|
11
11
|
error: string;
|
|
@@ -26,6 +26,6 @@ export declare function fetchRemediationFindingDetails(args: {
|
|
|
26
26
|
id: string;
|
|
27
27
|
sourcePhase: string | null;
|
|
28
28
|
title: string;
|
|
29
|
-
severity: "
|
|
29
|
+
severity: "critical" | "info" | "medium" | "low" | "high";
|
|
30
30
|
}[]>;
|
|
31
31
|
//# sourceMappingURL=remediation-findings-client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-after-clark.d.ts","sourceRoot":"","sources":["../../src/ai-service/edit-after-clark.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AAQtE,4EAA4E;AAC5E,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACpC;AAsBD;;;;;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,MAAM,EAAE,sBAAsB,KAAK,IAAI,EAC9C,gBAAgB,EAAE,MAAM,MAAM,GAAG,SAAS;IAG7D;;;OAGG;IACH,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,CAAC,GAAG,EAAE,YAAY,GAAG,SAAS,KAAK,IAAI;IAOtE;;;;OAIG;IACH,SAAS,CAAC,QAAQ,EAAE,MAAM,GAAG,CAAC,IAAI,EAAE,YAAY,GAAG,SAAS,KAAK,IAAI;IAOrE,6DAA6D;IAC7D,uBAAuB,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;IAI/C;;;OAGG;IACH,eAAe,IAAI,IAAI;IAIvB,6EAA6E;IAC7E,KAAK,IAAI,IAAI;IAMb,OAAO,CAAC,eAAe;IAsCvB,OAAO,CAAC,aAAa;IAcrB,OAAO,CAAC,MAAM;CAQf"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Bump when the rule for what counts as an edit after Clark changes, so
|
|
3
3
|
* reports from dev servers on the old rule can be told apart.
|
|
4
4
|
*/
|
|
5
|
-
const EDIT_AFTER_CLARK_DEFINITION_VERSION =
|
|
5
|
+
const EDIT_AFTER_CLARK_DEFINITION_VERSION = 2;
|
|
6
6
|
function changedPaths(before, after) {
|
|
7
7
|
const changed = new Set();
|
|
8
8
|
for (const [path, hash] of before.paths) {
|
|
@@ -91,10 +91,15 @@ export class EditAfterClarkTracker {
|
|
|
91
91
|
if (openTurn?.promptId === promptId)
|
|
92
92
|
return;
|
|
93
93
|
// The open turn never completed: it stopped to ask the user something and
|
|
94
|
-
// got a new prompt as the answer, or its post-generation sync
|
|
95
|
-
// running.
|
|
96
|
-
|
|
94
|
+
// got a new prompt as the answer, was stopped, or its post-generation sync
|
|
95
|
+
// is still running. If the files changed since it started, its changes
|
|
96
|
+
// cannot be told apart from what happened after it. If they did not, the
|
|
97
|
+
// files are where they were when it started and there is nothing to
|
|
98
|
+
// report. That also skips a turn whose writes were undone by hand before
|
|
99
|
+
// the next prompt, which the old rule could only report as unmeasured.
|
|
100
|
+
if (openTurn && (!openTurn.pre || !pre || openTurn.pre.hash !== pre.hash)) {
|
|
97
101
|
this.report(openTurn.promptId, { result: "unmeasured" });
|
|
102
|
+
}
|
|
98
103
|
const lastTurn = this.lastTurn;
|
|
99
104
|
this.lastTurn = undefined;
|
|
100
105
|
this.openTurn = { promptId, pre };
|
|
@@ -118,7 +123,7 @@ export class EditAfterClarkTracker {
|
|
|
118
123
|
}
|
|
119
124
|
recordTurnEnd(promptId, post) {
|
|
120
125
|
const openTurn = this.openTurn;
|
|
121
|
-
// The next prompt already started and
|
|
126
|
+
// The next prompt already started and closed this turn.
|
|
122
127
|
if (openTurn?.promptId !== promptId)
|
|
123
128
|
return;
|
|
124
129
|
this.openTurn = undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-after-clark.js","sourceRoot":"","sources":["../../src/ai-service/edit-after-clark.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,mCAAmC,GAAG,CAAC,CAAC;AAiB9C,SAAS,YAAY,CAAC,MAAoB,EAAE,KAAmB;IAC7D,MAAM,OAAO,GAAG,IAAI,GAAG,EAAU,CAAC;IAClC,KAAK,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,MAAM,CAAC,KAAK,EAAE,CAAC;QACxC,IAAI,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,IAAI;YAAE,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IACxD,CAAC;IACD,KAAK,MAAM,IAAI,IAAI,KAAK,CAAC,KAAK,CAAC,IAAI,EAAE,EAAE,CAAC;QACtC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC;YAAE,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC;AAED;;;;;;;;;;;;;;GAcG;AACH,MAAM,OAA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AAG,IAAI,CAAC,IAAI,EAAE,CAAC;YAC3B,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC,CAAC;YAChD,OAAO;QACT,CAAC;QACD,MAAM,UAAU,GAAG,YAAY,CAAC,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;QACpD,IAAI,UAAU,CAAC,IAAI,KAAK,CAAC;YAAE,OAAO;QAClC,IAAI,CAAC,QAAQ,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;IACjD,CAAC;IAEO,MAAM,CAAC,QAAgB,EAAE,MAAkB;QACjD,IAAI,CAAC,IAAI,CAAC;YACR,QAAQ;YACR,aAAa,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACtC,iBAAiB,EAAE,mCAAmC;YACtD,GAAG,MAAM;SACV,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -12,7 +12,7 @@ import type { PlaywrightBridge } from "../integration/playwright-bridge.js";
|
|
|
12
12
|
* actions through the Playwright MCP server.
|
|
13
13
|
*/
|
|
14
14
|
export declare const playwrightActionToolFactory: import("../../agent/tools2/types.js").ToolFactory<PlaywrightBridge, import("../../agent/tools2/types.js").Tool<{
|
|
15
|
-
action: "
|
|
15
|
+
action: "fill" | "screenshot" | "navigate" | "click" | "getText" | "waitForSelector" | "evaluate" | "getUrl" | "reload";
|
|
16
16
|
params?: Record<string, any> | undefined;
|
|
17
17
|
}, {
|
|
18
18
|
success: boolean;
|
|
@@ -19,8 +19,8 @@ export declare const submitFeedbackToolFactory: import("../../agent/tools2/types
|
|
|
19
19
|
criteriaEvaluations: {
|
|
20
20
|
reasoning: string;
|
|
21
21
|
passed: boolean;
|
|
22
|
-
score: number;
|
|
23
22
|
criterion: string;
|
|
23
|
+
score: number;
|
|
24
24
|
evidence?: string | undefined;
|
|
25
25
|
suggestions?: string[] | undefined;
|
|
26
26
|
}[];
|
|
@@ -56,12 +56,12 @@ declare const MessageEventLogEntrySchema: z.ZodObject<{
|
|
|
56
56
|
output: z.ZodNumber;
|
|
57
57
|
cacheRead: z.ZodNumber;
|
|
58
58
|
}, "strip", z.ZodTypeAny, {
|
|
59
|
-
output: number;
|
|
60
59
|
input: number;
|
|
60
|
+
output: number;
|
|
61
61
|
cacheRead: number;
|
|
62
62
|
}, {
|
|
63
|
-
output: number;
|
|
64
63
|
input: number;
|
|
64
|
+
output: number;
|
|
65
65
|
cacheRead: number;
|
|
66
66
|
}>>;
|
|
67
67
|
providerMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -70,26 +70,26 @@ declare const MessageEventLogEntrySchema: z.ZodObject<{
|
|
|
70
70
|
}, "strip", z.ZodTypeAny, {
|
|
71
71
|
type: "prompt_sent" | "response_received" | "compaction_received";
|
|
72
72
|
timestamp: number;
|
|
73
|
-
role: "system" | "
|
|
73
|
+
role: "system" | "user" | "assistant" | "tool";
|
|
74
74
|
content: string | unknown[];
|
|
75
75
|
_superblocks?: SuperblocksMetadata | undefined;
|
|
76
76
|
attachments?: AttachmentsRecord | undefined;
|
|
77
77
|
usage?: {
|
|
78
|
-
output: number;
|
|
79
78
|
input: number;
|
|
79
|
+
output: number;
|
|
80
80
|
cacheRead: number;
|
|
81
81
|
} | undefined;
|
|
82
82
|
providerMetadata?: Record<string, unknown> | undefined;
|
|
83
83
|
}, {
|
|
84
84
|
type: "prompt_sent" | "response_received" | "compaction_received";
|
|
85
85
|
timestamp: number;
|
|
86
|
-
role: "system" | "
|
|
86
|
+
role: "system" | "user" | "assistant" | "tool";
|
|
87
87
|
content: string | unknown[];
|
|
88
88
|
_superblocks?: SuperblocksMetadata | undefined;
|
|
89
89
|
attachments?: AttachmentsRecord | undefined;
|
|
90
90
|
usage?: {
|
|
91
|
-
output: number;
|
|
92
91
|
input: number;
|
|
92
|
+
output: number;
|
|
93
93
|
cacheRead: number;
|
|
94
94
|
} | undefined;
|
|
95
95
|
providerMetadata?: Record<string, unknown> | undefined;
|
|
@@ -129,12 +129,12 @@ export declare const EventLogEntrySchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
129
129
|
output: z.ZodNumber;
|
|
130
130
|
cacheRead: z.ZodNumber;
|
|
131
131
|
}, "strip", z.ZodTypeAny, {
|
|
132
|
-
output: number;
|
|
133
132
|
input: number;
|
|
133
|
+
output: number;
|
|
134
134
|
cacheRead: number;
|
|
135
135
|
}, {
|
|
136
|
-
output: number;
|
|
137
136
|
input: number;
|
|
137
|
+
output: number;
|
|
138
138
|
cacheRead: number;
|
|
139
139
|
}>>;
|
|
140
140
|
providerMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -143,26 +143,26 @@ export declare const EventLogEntrySchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
143
143
|
}, "strip", z.ZodTypeAny, {
|
|
144
144
|
type: "prompt_sent" | "response_received" | "compaction_received";
|
|
145
145
|
timestamp: number;
|
|
146
|
-
role: "system" | "
|
|
146
|
+
role: "system" | "user" | "assistant" | "tool";
|
|
147
147
|
content: string | unknown[];
|
|
148
148
|
_superblocks?: SuperblocksMetadata | undefined;
|
|
149
149
|
attachments?: AttachmentsRecord | undefined;
|
|
150
150
|
usage?: {
|
|
151
|
-
output: number;
|
|
152
151
|
input: number;
|
|
152
|
+
output: number;
|
|
153
153
|
cacheRead: number;
|
|
154
154
|
} | undefined;
|
|
155
155
|
providerMetadata?: Record<string, unknown> | undefined;
|
|
156
156
|
}, {
|
|
157
157
|
type: "prompt_sent" | "response_received" | "compaction_received";
|
|
158
158
|
timestamp: number;
|
|
159
|
-
role: "system" | "
|
|
159
|
+
role: "system" | "user" | "assistant" | "tool";
|
|
160
160
|
content: string | unknown[];
|
|
161
161
|
_superblocks?: SuperblocksMetadata | undefined;
|
|
162
162
|
attachments?: AttachmentsRecord | undefined;
|
|
163
163
|
usage?: {
|
|
164
|
-
output: number;
|
|
165
164
|
input: number;
|
|
165
|
+
output: number;
|
|
166
166
|
cacheRead: number;
|
|
167
167
|
} | undefined;
|
|
168
168
|
providerMetadata?: Record<string, unknown> | undefined;
|
|
@@ -65,7 +65,7 @@ export declare const STREAK_POLICY: {
|
|
|
65
65
|
readonly service_dead: true;
|
|
66
66
|
readonly unexpected: true;
|
|
67
67
|
};
|
|
68
|
-
export declare const STREAK_WORTHY_PLATFORM_REASONS: ("
|
|
68
|
+
export declare const STREAK_WORTHY_PLATFORM_REASONS: ("aborted" | "no_output" | "rate_limit" | "api_error" | "retries_exhausted" | "handler_error" | "integration_fetch" | "peer_disconnect" | "request_already_finished" | "service_busy" | "service_dead" | "unexpected")[];
|
|
69
69
|
export declare const AWAITING_USER_DISMISS_REASONS: readonly ["cancel", "new_prompt"];
|
|
70
70
|
export type AwaitingUserDismissReason = (typeof AWAITING_USER_DISMISS_REASONS)[number];
|
|
71
71
|
export declare const AWAITING_USER_DISMISS_REASON_TAG = "dismiss_reason";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/git-service/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAK5C,OAAO,EACL,YAAY,EACZ,gBAAgB,EAChB,sBAAsB,EAEtB,sBAAsB,EAEtB,cAAc,EACd,yBAAyB,EAC1B,MAAM,aAAa,CAAC;AAErB,OAAO,EACL,YAAY,EACZ,gBAAgB,EAChB,sBAAsB,EACtB,sBAAsB,EACtB,cAAc,EACd,yBAAyB,GAC1B,CAAC;AAEF,MAAM,WAAW,UAAW,SAAQ,SAAS;IAC3C,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IAEzB,SAAS,CAAC,OAAO,CAAC,EAAE;QAClB,WAAW,CAAC,EAAE;YAAE,QAAQ,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAE,CAAC;QAClD,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB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,EAAE,MAAM,CAAA;SAAE,CAAC;QAClD,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAElB,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,eAAe,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;IAE7D,QAAQ,IAAI,OAAO,CAAC;QAAE,KAAK,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;IAExC,OAAO,CACL,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAE9C,gBAAgB,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAErE,kBAAkB,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;IAExC,gBAAgB,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;CACrC;AAED,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAyNxD;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,CA8DtD"}
|
|
@@ -37,13 +37,24 @@ export function createGitService(cwd) {
|
|
|
37
37
|
return Object.assign(git, {
|
|
38
38
|
workDir: cwd,
|
|
39
39
|
configure: async (options) => {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
// Write to this repo's own .git/config, never --global. The CLI also
|
|
41
|
+
// runs on developer machines, where --global would overwrite the
|
|
42
|
+
// user's own ~/.gitconfig.
|
|
43
|
+
await git.addConfig("user.name", options?.userName || "Superblocks", false, "local");
|
|
44
|
+
await git.addConfig("user.email", options?.userEmail || "noreply@superblocks.com", false, "local");
|
|
43
45
|
if (options?.credentials) {
|
|
44
46
|
const helper = `!f() { echo username=${options.credentials.username}; ` +
|
|
45
47
|
`echo password=${options.credentials.token}; }; f`;
|
|
46
|
-
|
|
48
|
+
// The empty value clears helpers inherited from the user's global
|
|
49
|
+
// config, so git only uses this app's token for this repo.
|
|
50
|
+
await git.raw([
|
|
51
|
+
"config",
|
|
52
|
+
"--local",
|
|
53
|
+
"--replace-all",
|
|
54
|
+
"credential.helper",
|
|
55
|
+
"",
|
|
56
|
+
]);
|
|
57
|
+
await git.addConfig("credential.helper", helper, true, "local");
|
|
47
58
|
}
|
|
48
59
|
},
|
|
49
60
|
mergeRef: async (ref) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/git-service/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAGvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EACL,YAAY,EACZ,gBAAgB,EAChB,sBAAsB,EACtB,aAAa,EACb,sBAAsB,EACtB,kBAAkB,EAClB,cAAc,EACd,yBAAyB,GAC1B,MAAM,aAAa,CAAC;AAErB,OAAO,EACL,YAAY,EACZ,gBAAgB,EAChB,sBAAsB,EACtB,sBAAsB,EACtB,cAAc,EACd,yBAAyB,GAC1B,CAAC;AA2BF,MAAM,UAAU,gBAAgB,CAAC,GAAW;IAC1C,uEAAuE;IACvE,qEAAqE;IACrE,qEAAqE;IACrE,kEAAkE;IAClE,gEAAgE;IAChE,6DAA6D;IAC7D,sDAAsD;IACtD,gDAAgD;IAChD,EAAE;IACF,oEAAoE;IACpE,mEAAmE;IACnE,uDAAuD;IACvD,MAAM,GAAG,GAAG,SAAS,CAAC,GAAG,EAAE;QACzB,gBAAgB,EACd,OAAO,CAAC,GAAG,CAAC,sCAAsC,KAAK,MAAM;YAC3D,CAAC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Y,EAAE,gBAAgB;YAC9B,UAAU,EAAE,QAAQ;YACpB,YAAY,EAAE,kBAAkB;YAChC,OAAO;SACR,CAAC,CAAC;QACH,OAAO,IAAI,sBAAsB,CAAC,OAAO,CAAC,CAAC;IAC7C,CAAC;IAED,OAAO,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;AACnE,CAAC;AAED,SAAS,cAAc,CAAC,KAAc;IACpC,IAAI,KAAK,KAAK,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,SAAS,IAAI,KAAK,EAAE,CAAC;QACtE,OAAO,MAAM,CAAE,KAA8B,CAAC,OAAO,CAAC,CAAC;IACzD,CAAC;IACD,OAAO,MAAM,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superblocksteam/vite-plugin-file-sync",
|
|
3
|
-
"version": "2.0.173-next.
|
|
3
|
+
"version": "2.0.173-next.2",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"vite-plugin"
|
|
6
6
|
],
|
|
@@ -88,14 +88,14 @@
|
|
|
88
88
|
"@lezer/python": "^1.1.15",
|
|
89
89
|
"@opentelemetry/api": "^1.9.1",
|
|
90
90
|
"@opentelemetry/core": "^2.9.0",
|
|
91
|
-
"@superblocksteam/ai-service-templates": "2.0.173-next.
|
|
92
|
-
"@superblocksteam/clark": "2.0.173-next.
|
|
93
|
-
"@superblocksteam/library-shared": "2.0.173-next.
|
|
94
|
-
"@superblocksteam/sdk-api": "2.0.173-next.
|
|
95
|
-
"@superblocksteam/shared": "0.9619.
|
|
96
|
-
"@superblocksteam/telemetry": "2.0.173-next.
|
|
91
|
+
"@superblocksteam/ai-service-templates": "2.0.173-next.2",
|
|
92
|
+
"@superblocksteam/clark": "2.0.173-next.2",
|
|
93
|
+
"@superblocksteam/library-shared": "2.0.173-next.2",
|
|
94
|
+
"@superblocksteam/sdk-api": "2.0.173-next.2",
|
|
95
|
+
"@superblocksteam/shared": "0.9619.2",
|
|
96
|
+
"@superblocksteam/telemetry": "2.0.173-next.2",
|
|
97
97
|
"@superblocksteam/types": "1.771.0",
|
|
98
|
-
"@superblocksteam/util": "2.0.173-next.
|
|
98
|
+
"@superblocksteam/util": "2.0.173-next.2",
|
|
99
99
|
"@types/turndown": "^5.0.6",
|
|
100
100
|
"@vscode/ripgrep": "^1.18.0",
|
|
101
101
|
"ai": "6.0.97",
|