@office-ai/aioncli-core 0.30.1 → 0.30.3
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/docs/extension.md +1 -1
- package/dist/src/agents/cli-help-agent.d.ts +2 -2
- package/dist/src/code_assist/oauth2.d.ts +1 -1
- package/dist/src/code_assist/types.d.ts +26 -26
- package/dist/src/core/bedrockContentGenerator.d.ts +6 -0
- package/dist/src/core/bedrockContentGenerator.js +24 -11
- package/dist/src/core/bedrockContentGenerator.js.map +1 -1
- package/dist/src/core/openaiContentGenerator.d.ts +7 -7
- package/dist/src/core/openaiContentGenerator.js +34 -20
- package/dist/src/core/openaiContentGenerator.js.map +1 -1
- package/dist/src/core/openaiContentGenerator.test.js +5 -1
- package/dist/src/core/openaiContentGenerator.test.js.map +1 -1
- package/dist/src/generated/git-commit.d.ts +1 -1
- package/dist/src/generated/git-commit.js +1 -1
- package/dist/src/ide/types.d.ts +12 -12
- package/dist/src/services/trackerTypes.d.ts +4 -4
- package/dist/src/utils/checkpointUtils.d.ts +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/src/ide/types.d.ts
CHANGED
|
@@ -325,8 +325,8 @@ export declare const IdeContextNotificationSchema: z.ZodObject<{
|
|
|
325
325
|
isTrusted?: boolean | undefined;
|
|
326
326
|
} | undefined;
|
|
327
327
|
};
|
|
328
|
-
method: "ide/contextUpdate";
|
|
329
328
|
jsonrpc: "2.0";
|
|
329
|
+
method: "ide/contextUpdate";
|
|
330
330
|
}, {
|
|
331
331
|
params: {
|
|
332
332
|
workspaceState?: {
|
|
@@ -343,8 +343,8 @@ export declare const IdeContextNotificationSchema: z.ZodObject<{
|
|
|
343
343
|
isTrusted?: boolean | undefined;
|
|
344
344
|
} | undefined;
|
|
345
345
|
};
|
|
346
|
-
method: "ide/contextUpdate";
|
|
347
346
|
jsonrpc: "2.0";
|
|
347
|
+
method: "ide/contextUpdate";
|
|
348
348
|
}>;
|
|
349
349
|
/**
|
|
350
350
|
* A notification that a diff has been accepted in the IDE.
|
|
@@ -362,26 +362,26 @@ export declare const IdeDiffAcceptedNotificationSchema: z.ZodObject<{
|
|
|
362
362
|
*/
|
|
363
363
|
content: z.ZodString;
|
|
364
364
|
}, "strip", z.ZodTypeAny, {
|
|
365
|
-
content: string;
|
|
366
365
|
filePath: string;
|
|
367
|
-
}, {
|
|
368
366
|
content: string;
|
|
367
|
+
}, {
|
|
369
368
|
filePath: string;
|
|
369
|
+
content: string;
|
|
370
370
|
}>;
|
|
371
371
|
}, "strip", z.ZodTypeAny, {
|
|
372
372
|
params: {
|
|
373
|
-
content: string;
|
|
374
373
|
filePath: string;
|
|
374
|
+
content: string;
|
|
375
375
|
};
|
|
376
|
-
method: "ide/diffAccepted";
|
|
377
376
|
jsonrpc: "2.0";
|
|
377
|
+
method: "ide/diffAccepted";
|
|
378
378
|
}, {
|
|
379
379
|
params: {
|
|
380
|
-
content: string;
|
|
381
380
|
filePath: string;
|
|
381
|
+
content: string;
|
|
382
382
|
};
|
|
383
|
-
method: "ide/diffAccepted";
|
|
384
383
|
jsonrpc: "2.0";
|
|
384
|
+
method: "ide/diffAccepted";
|
|
385
385
|
}>;
|
|
386
386
|
/**
|
|
387
387
|
* A notification that a diff has been rejected in the IDE.
|
|
@@ -403,14 +403,14 @@ export declare const IdeDiffRejectedNotificationSchema: z.ZodObject<{
|
|
|
403
403
|
params: {
|
|
404
404
|
filePath: string;
|
|
405
405
|
};
|
|
406
|
-
method: "ide/diffRejected";
|
|
407
406
|
jsonrpc: "2.0";
|
|
407
|
+
method: "ide/diffRejected";
|
|
408
408
|
}, {
|
|
409
409
|
params: {
|
|
410
410
|
filePath: string;
|
|
411
411
|
};
|
|
412
|
-
method: "ide/diffRejected";
|
|
413
412
|
jsonrpc: "2.0";
|
|
413
|
+
method: "ide/diffRejected";
|
|
414
414
|
}>;
|
|
415
415
|
/**
|
|
416
416
|
* This is defined for backwards compatibility only. Newer extension versions
|
|
@@ -436,15 +436,15 @@ export declare const IdeDiffClosedNotificationSchema: z.ZodObject<{
|
|
|
436
436
|
filePath: string;
|
|
437
437
|
content?: string | undefined;
|
|
438
438
|
};
|
|
439
|
-
method: "ide/diffClosed";
|
|
440
439
|
jsonrpc: "2.0";
|
|
440
|
+
method: "ide/diffClosed";
|
|
441
441
|
}, {
|
|
442
442
|
params: {
|
|
443
443
|
filePath: string;
|
|
444
444
|
content?: string | undefined;
|
|
445
445
|
};
|
|
446
|
-
method: "ide/diffClosed";
|
|
447
446
|
jsonrpc: "2.0";
|
|
447
|
+
method: "ide/diffClosed";
|
|
448
448
|
}>;
|
|
449
449
|
/**
|
|
450
450
|
* The request to open a diff view in the IDE.
|
|
@@ -28,21 +28,21 @@ export declare const TrackerTaskSchema: z.ZodObject<{
|
|
|
28
28
|
subagentSessionId: z.ZodOptional<z.ZodString>;
|
|
29
29
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
30
30
|
}, "strip", z.ZodTypeAny, {
|
|
31
|
-
description: string;
|
|
32
31
|
type: TaskType;
|
|
33
32
|
status: TaskStatus;
|
|
34
|
-
|
|
33
|
+
description: string;
|
|
35
34
|
title: string;
|
|
35
|
+
id: string;
|
|
36
36
|
dependencies: string[];
|
|
37
37
|
metadata?: Record<string, unknown> | undefined;
|
|
38
38
|
parentId?: string | undefined;
|
|
39
39
|
subagentSessionId?: string | undefined;
|
|
40
40
|
}, {
|
|
41
|
-
description: string;
|
|
42
41
|
type: TaskType;
|
|
43
42
|
status: TaskStatus;
|
|
44
|
-
|
|
43
|
+
description: string;
|
|
45
44
|
title: string;
|
|
45
|
+
id: string;
|
|
46
46
|
dependencies: string[];
|
|
47
47
|
metadata?: Record<string, unknown> | undefined;
|
|
48
48
|
parentId?: string | undefined;
|
|
@@ -47,25 +47,25 @@ export declare function getToolCallDataSchema(historyItemSchema?: z.ZodTypeAny):
|
|
|
47
47
|
name: string;
|
|
48
48
|
args: Record<string, unknown>;
|
|
49
49
|
};
|
|
50
|
-
messageId?: string | undefined;
|
|
51
50
|
history?: any[] | undefined;
|
|
52
51
|
clientHistory?: z.objectOutputType<{
|
|
53
52
|
role: z.ZodOptional<z.ZodString>;
|
|
54
53
|
parts: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
55
54
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
56
55
|
commitHash?: string | undefined;
|
|
56
|
+
messageId?: string | undefined;
|
|
57
57
|
}, {
|
|
58
58
|
toolCall: {
|
|
59
59
|
name: string;
|
|
60
60
|
args: Record<string, unknown>;
|
|
61
61
|
};
|
|
62
|
-
messageId?: string | undefined;
|
|
63
62
|
history?: any[] | undefined;
|
|
64
63
|
clientHistory?: z.objectInputType<{
|
|
65
64
|
role: z.ZodOptional<z.ZodString>;
|
|
66
65
|
parts: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
67
66
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
68
67
|
commitHash?: string | undefined;
|
|
68
|
+
messageId?: string | undefined;
|
|
69
69
|
}>;
|
|
70
70
|
export declare function generateCheckpointFileName(toolCall: ToolCallRequestInfo): string | null;
|
|
71
71
|
export declare function formatCheckpointDisplayList(filenames: string[]): string;
|