@google/gemini-cli 0.15.0-nightly.20251111.51f952e7 → 0.15.0-preview.0
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/package.json +2 -2
- package/dist/src/config/config.d.ts +3 -0
- package/dist/src/config/config.js +31 -0
- package/dist/src/config/config.js.map +1 -1
- package/dist/src/config/config.test.js +20 -0
- package/dist/src/config/config.test.js.map +1 -1
- package/dist/src/config/extension-manager.js +13 -1
- package/dist/src/config/extension-manager.js.map +1 -1
- package/dist/src/config/extension.test.js +65 -0
- package/dist/src/config/extension.test.js.map +1 -1
- package/dist/src/config/settingsSchema.d.ts +10 -1
- package/dist/src/config/settingsSchema.js +10 -1
- package/dist/src/config/settingsSchema.js.map +1 -1
- package/dist/src/gemini.d.ts +2 -2
- package/dist/src/gemini.js +35 -4
- package/dist/src/gemini.js.map +1 -1
- package/dist/src/gemini.test.js +14 -7
- package/dist/src/gemini.test.js.map +1 -1
- package/dist/src/generated/git-commit.d.ts +2 -2
- package/dist/src/generated/git-commit.js +2 -2
- package/dist/src/generated/git-commit.js.map +1 -1
- package/dist/src/nonInteractiveCli.d.ts +3 -2
- package/dist/src/nonInteractiveCli.js +6 -1
- package/dist/src/nonInteractiveCli.js.map +1 -1
- package/dist/src/nonInteractiveCli.test.js +1 -0
- package/dist/src/nonInteractiveCli.test.js.map +1 -1
- package/dist/src/test-utils/render.d.ts +2 -1
- package/dist/src/test-utils/render.js +13 -3
- package/dist/src/test-utils/render.js.map +1 -1
- package/dist/src/ui/App.js +9 -1
- package/dist/src/ui/App.js.map +1 -1
- package/dist/src/ui/App.test.js +25 -1
- package/dist/src/ui/App.test.js.map +1 -1
- package/dist/src/ui/AppContainer.d.ts +2 -3
- package/dist/src/ui/AppContainer.js +22 -7
- package/dist/src/ui/AppContainer.js.map +1 -1
- package/dist/src/ui/AppContainer.test.js +349 -46
- package/dist/src/ui/AppContainer.test.js.map +1 -1
- package/dist/src/ui/commands/toolsCommand.js +4 -1
- package/dist/src/ui/commands/toolsCommand.js.map +1 -1
- package/dist/src/ui/components/AlternateBufferQuittingDisplay.d.ts +6 -0
- package/dist/src/ui/components/AlternateBufferQuittingDisplay.js +24 -0
- package/dist/src/ui/components/AlternateBufferQuittingDisplay.js.map +1 -0
- package/dist/src/ui/components/AlternateBufferQuittingDisplay.test.d.ts +6 -0
- package/dist/src/ui/components/AlternateBufferQuittingDisplay.test.js +101 -0
- package/dist/src/ui/components/AlternateBufferQuittingDisplay.test.js.map +1 -0
- package/dist/src/ui/components/Composer.js +11 -4
- package/dist/src/ui/components/Composer.js.map +1 -1
- package/dist/src/ui/components/CopyModeWarning.d.ts +7 -0
- package/dist/src/ui/components/CopyModeWarning.js +12 -0
- package/dist/src/ui/components/CopyModeWarning.js.map +1 -0
- package/dist/src/ui/components/DetailedMessagesDisplay.js +1 -1
- package/dist/src/ui/components/Header.js +11 -1
- package/dist/src/ui/components/Header.js.map +1 -1
- package/dist/src/ui/components/Header.test.js +69 -14
- package/dist/src/ui/components/Header.test.js.map +1 -1
- package/dist/src/ui/components/HistoryItemDisplay.js +1 -1
- package/dist/src/ui/components/HistoryItemDisplay.js.map +1 -1
- package/dist/src/ui/components/HistoryItemDisplay.test.js +43 -41
- package/dist/src/ui/components/HistoryItemDisplay.test.js.map +1 -1
- package/dist/src/ui/components/InputPrompt.d.ts +2 -0
- package/dist/src/ui/components/InputPrompt.js +14 -8
- package/dist/src/ui/components/InputPrompt.js.map +1 -1
- package/dist/src/ui/components/MainContent.js +52 -15
- package/dist/src/ui/components/MainContent.js.map +1 -1
- package/dist/src/ui/components/ModelDialog.test.js +1 -0
- package/dist/src/ui/components/ModelDialog.test.js.map +1 -1
- package/dist/src/ui/components/StickyHeader.d.ts +11 -0
- package/dist/src/ui/components/StickyHeader.js +5 -0
- package/dist/src/ui/components/StickyHeader.js.map +1 -0
- package/dist/src/ui/components/StickyHeader.test.d.ts +6 -0
- package/dist/src/ui/components/StickyHeader.test.js +17 -0
- package/dist/src/ui/components/StickyHeader.test.js.map +1 -0
- package/dist/src/ui/components/ThemeDialog.js +11 -3
- package/dist/src/ui/components/ThemeDialog.js.map +1 -1
- package/dist/src/ui/components/messages/DiffRenderer.js +129 -89
- package/dist/src/ui/components/messages/DiffRenderer.js.map +1 -1
- package/dist/src/ui/components/messages/DiffRenderer.test.js +107 -115
- package/dist/src/ui/components/messages/DiffRenderer.test.js.map +1 -1
- package/dist/src/ui/components/messages/GeminiMessage.js +3 -1
- package/dist/src/ui/components/messages/GeminiMessage.js.map +1 -1
- package/dist/src/ui/components/messages/GeminiMessageContent.js +3 -1
- package/dist/src/ui/components/messages/GeminiMessageContent.js.map +1 -1
- package/dist/src/ui/components/messages/ToolConfirmationMessage.js +152 -121
- package/dist/src/ui/components/messages/ToolConfirmationMessage.js.map +1 -1
- package/dist/src/ui/components/messages/ToolGroupMessage.js +5 -7
- package/dist/src/ui/components/messages/ToolGroupMessage.js.map +1 -1
- package/dist/src/ui/components/messages/ToolGroupMessage.test.js +1 -5
- package/dist/src/ui/components/messages/ToolGroupMessage.test.js.map +1 -1
- package/dist/src/ui/components/messages/ToolMessage.js +39 -16
- package/dist/src/ui/components/messages/ToolMessage.js.map +1 -1
- package/dist/src/ui/components/messages/ToolMessageRawMarkdown.test.js +33 -4
- package/dist/src/ui/components/messages/ToolMessageRawMarkdown.test.js.map +1 -1
- package/dist/src/ui/components/messages/UserMessage.d.ts +1 -0
- package/dist/src/ui/components/messages/UserMessage.js +2 -2
- package/dist/src/ui/components/messages/UserMessage.js.map +1 -1
- package/dist/src/ui/components/shared/ScrollableList.test.js +61 -24
- package/dist/src/ui/components/shared/ScrollableList.test.js.map +1 -1
- package/dist/src/ui/components/shared/VirtualizedList.js +1 -1
- package/dist/src/ui/components/shared/VirtualizedList.js.map +1 -1
- package/dist/src/ui/constants.d.ts +1 -0
- package/dist/src/ui/constants.js +5 -0
- package/dist/src/ui/constants.js.map +1 -1
- package/dist/src/ui/contexts/UIStateContext.d.ts +1 -0
- package/dist/src/ui/contexts/UIStateContext.js.map +1 -1
- package/dist/src/ui/hooks/atCommandProcessor.test.js +1 -1
- package/dist/src/ui/hooks/atCommandProcessor.test.js.map +1 -1
- package/dist/src/ui/hooks/useAlternateBuffer.d.ts +6 -0
- package/dist/src/ui/hooks/useAlternateBuffer.js +11 -0
- package/dist/src/ui/hooks/useAlternateBuffer.js.map +1 -0
- package/dist/src/ui/hooks/useGeminiStream.test.js +4 -0
- package/dist/src/ui/hooks/useGeminiStream.test.js.map +1 -1
- package/dist/src/ui/hooks/usePromptCompletion.js +2 -9
- package/dist/src/ui/hooks/usePromptCompletion.js.map +1 -1
- package/dist/src/ui/hooks/useSessionBrowser.d.ts +18 -0
- package/dist/src/ui/hooks/useSessionBrowser.js +152 -0
- package/dist/src/ui/hooks/useSessionBrowser.js.map +1 -0
- package/dist/src/ui/hooks/useSessionBrowser.test.d.ts +6 -0
- package/dist/src/ui/hooks/useSessionBrowser.test.js +544 -0
- package/dist/src/ui/hooks/useSessionBrowser.test.js.map +1 -0
- package/dist/src/ui/hooks/useSessionResume.d.ts +30 -0
- package/dist/src/ui/hooks/useSessionResume.js +56 -0
- package/dist/src/ui/hooks/useSessionResume.js.map +1 -0
- package/dist/src/ui/hooks/useSessionResume.test.d.ts +6 -0
- package/dist/src/ui/hooks/useSessionResume.test.js +325 -0
- package/dist/src/ui/hooks/useSessionResume.test.js.map +1 -0
- package/dist/src/ui/hooks/useToolScheduler.test.js +1 -0
- package/dist/src/ui/hooks/useToolScheduler.test.js.map +1 -1
- package/dist/src/ui/layouts/DefaultAppLayout.js +9 -3
- package/dist/src/ui/layouts/DefaultAppLayout.js.map +1 -1
- package/dist/src/ui/utils/CodeColorizer.d.ts +11 -3
- package/dist/src/ui/utils/CodeColorizer.js +18 -9
- package/dist/src/ui/utils/CodeColorizer.js.map +1 -1
- package/dist/src/ui/utils/MarkdownDisplay.js +32 -6
- package/dist/src/ui/utils/MarkdownDisplay.js.map +1 -1
- package/dist/src/ui/utils/ui-sizing.js +9 -3
- package/dist/src/ui/utils/ui-sizing.js.map +1 -1
- package/dist/src/utils/cleanup.test.js +1 -1
- package/dist/src/utils/cleanup.test.js.map +1 -1
- package/dist/src/utils/sessionCleanup.test.js +76 -0
- package/dist/src/utils/sessionCleanup.test.js.map +1 -1
- package/dist/src/utils/sessionUtils.d.ts +54 -0
- package/dist/src/utils/sessionUtils.js +141 -1
- package/dist/src/utils/sessionUtils.js.map +1 -1
- package/dist/src/utils/sessionUtils.test.d.ts +6 -0
- package/dist/src/utils/sessionUtils.test.js +260 -0
- package/dist/src/utils/sessionUtils.test.js.map +1 -0
- package/dist/src/utils/sessions.d.ts +8 -0
- package/dist/src/utils/sessions.js +64 -0
- package/dist/src/utils/sessions.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/dist/google-gemini-cli-0.15.0-nightly.20251107.b8eeb553.tgz +0 -0
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2025 Google LLC
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import { partListUnionToString } from '@google/gemini-cli-core';
|
|
7
|
+
import { MessageType, ToolCallStatus } from '../types.js';
|
|
8
|
+
/**
|
|
9
|
+
* Converts session/conversation data into UI history and Gemini client history formats.
|
|
10
|
+
*/
|
|
11
|
+
export function convertSessionToHistoryFormats(messages) {
|
|
12
|
+
const uiHistory = [];
|
|
13
|
+
for (const msg of messages) {
|
|
14
|
+
// Add the message only if it has content
|
|
15
|
+
const contentString = partListUnionToString(msg.content);
|
|
16
|
+
if (msg.content && contentString.trim()) {
|
|
17
|
+
let messageType;
|
|
18
|
+
switch (msg.type) {
|
|
19
|
+
case 'user':
|
|
20
|
+
messageType = MessageType.USER;
|
|
21
|
+
break;
|
|
22
|
+
default:
|
|
23
|
+
messageType = MessageType.GEMINI;
|
|
24
|
+
break;
|
|
25
|
+
}
|
|
26
|
+
uiHistory.push({
|
|
27
|
+
type: messageType,
|
|
28
|
+
text: contentString,
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
// Add tool calls if present
|
|
32
|
+
if (msg.type !== 'user' &&
|
|
33
|
+
'toolCalls' in msg &&
|
|
34
|
+
msg.toolCalls &&
|
|
35
|
+
msg.toolCalls.length > 0) {
|
|
36
|
+
uiHistory.push({
|
|
37
|
+
type: 'tool_group',
|
|
38
|
+
tools: msg.toolCalls.map((tool) => ({
|
|
39
|
+
callId: tool.id,
|
|
40
|
+
name: tool.displayName || tool.name,
|
|
41
|
+
description: tool.description || '',
|
|
42
|
+
renderOutputAsMarkdown: tool.renderOutputAsMarkdown ?? true,
|
|
43
|
+
status: tool.status === 'success'
|
|
44
|
+
? ToolCallStatus.Success
|
|
45
|
+
: ToolCallStatus.Error,
|
|
46
|
+
resultDisplay: tool.resultDisplay,
|
|
47
|
+
confirmationDetails: undefined,
|
|
48
|
+
})),
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
// Convert to Gemini client history format
|
|
53
|
+
const clientHistory = [];
|
|
54
|
+
for (const msg of messages) {
|
|
55
|
+
// Skip system/error messages and user slash commands
|
|
56
|
+
// if (msg.type === 'system' || msg.type === 'error') {
|
|
57
|
+
// continue;
|
|
58
|
+
// }
|
|
59
|
+
if (msg.type === 'user') {
|
|
60
|
+
// Skip user slash commands
|
|
61
|
+
const contentString = partListUnionToString(msg.content);
|
|
62
|
+
if (contentString.trim().startsWith('/') ||
|
|
63
|
+
contentString.trim().startsWith('?')) {
|
|
64
|
+
continue;
|
|
65
|
+
}
|
|
66
|
+
// Add regular user message
|
|
67
|
+
clientHistory.push({
|
|
68
|
+
role: 'user',
|
|
69
|
+
parts: [{ text: contentString }],
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
else if (msg.type === 'gemini') {
|
|
73
|
+
// Handle Gemini messages with potential tool calls
|
|
74
|
+
const hasToolCalls = 'toolCalls' in msg && msg.toolCalls && msg.toolCalls.length > 0;
|
|
75
|
+
if (hasToolCalls) {
|
|
76
|
+
// Create model message with function calls
|
|
77
|
+
const modelParts = [];
|
|
78
|
+
// Add text content if present
|
|
79
|
+
const contentString = partListUnionToString(msg.content);
|
|
80
|
+
if (msg.content && contentString.trim()) {
|
|
81
|
+
modelParts.push({ text: contentString });
|
|
82
|
+
}
|
|
83
|
+
// Add function calls
|
|
84
|
+
for (const toolCall of msg.toolCalls) {
|
|
85
|
+
modelParts.push({
|
|
86
|
+
functionCall: {
|
|
87
|
+
name: toolCall.name,
|
|
88
|
+
args: toolCall.args,
|
|
89
|
+
...(toolCall.id && { id: toolCall.id }),
|
|
90
|
+
},
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
clientHistory.push({
|
|
94
|
+
role: 'model',
|
|
95
|
+
parts: modelParts,
|
|
96
|
+
});
|
|
97
|
+
// Create single function response message with all tool call responses
|
|
98
|
+
const functionResponseParts = [];
|
|
99
|
+
for (const toolCall of msg.toolCalls) {
|
|
100
|
+
if (toolCall.result) {
|
|
101
|
+
// Convert PartListUnion result to function response format
|
|
102
|
+
let responseData;
|
|
103
|
+
if (typeof toolCall.result === 'string') {
|
|
104
|
+
responseData = {
|
|
105
|
+
functionResponse: {
|
|
106
|
+
id: toolCall.id,
|
|
107
|
+
name: toolCall.name,
|
|
108
|
+
response: {
|
|
109
|
+
output: toolCall.result,
|
|
110
|
+
},
|
|
111
|
+
},
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
else if (Array.isArray(toolCall.result)) {
|
|
115
|
+
// toolCall.result is an array containing properly formatted
|
|
116
|
+
// function responses
|
|
117
|
+
functionResponseParts.push(...toolCall.result);
|
|
118
|
+
continue;
|
|
119
|
+
}
|
|
120
|
+
else {
|
|
121
|
+
// Fallback for non-array results
|
|
122
|
+
responseData = toolCall.result;
|
|
123
|
+
}
|
|
124
|
+
functionResponseParts.push(responseData);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
// Only add user message if we have function responses
|
|
128
|
+
if (functionResponseParts.length > 0) {
|
|
129
|
+
clientHistory.push({
|
|
130
|
+
role: 'user',
|
|
131
|
+
parts: functionResponseParts,
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
else {
|
|
136
|
+
// Regular Gemini message without tool calls
|
|
137
|
+
const contentString = partListUnionToString(msg.content);
|
|
138
|
+
if (msg.content && contentString.trim()) {
|
|
139
|
+
clientHistory.push({
|
|
140
|
+
role: 'model',
|
|
141
|
+
parts: [{ text: contentString }],
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
return {
|
|
148
|
+
uiHistory,
|
|
149
|
+
clientHistory,
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
//# sourceMappingURL=useSessionBrowser.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSessionBrowser.js","sourceRoot":"","sources":["../../../../src/ui/hooks/useSessionBrowser.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC1D;;GAEG;AACH,MAAM,UAAU,8BAA8B,CAC5C,QAAwC;IAKxC,MAAM,SAAS,GAA2B,EAAE,CAAC;IAE7C,KAAK,MAAM,GAAG,IAAI,QAAQ,EAAE,CAAC;QAC3B,yCAAyC;QACzC,MAAM,aAAa,GAAG,qBAAqB,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QACzD,IAAI,GAAG,CAAC,OAAO,IAAI,aAAa,CAAC,IAAI,EAAE,EAAE,CAAC;YACxC,IAAI,WAAwB,CAAC;YAC7B,QAAQ,GAAG,CAAC,IAAI,EAAE,CAAC;gBACjB,KAAK,MAAM;oBACT,WAAW,GAAG,WAAW,C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