Skip to content

Commit 3ed7092

Browse files
authored
Release/v4.203.0 (#17)
* refactor chattext + mention chip * refactor chattext + mention chip + ui cleanups * update changelog * minor UI element updates
1 parent b2a99b0 commit 3ed7092

File tree

17 files changed

+1019
-742
lines changed

17 files changed

+1019
-742
lines changed

CHANGELOG.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,57 @@
11
# Changelog
22

3+
## [v4.203.0] - 2025-12-19
4+
5+
### Added
6+
7+
- Enhanced chat text area with improved mention chip functionality
8+
- New mention chip demo component for better user interaction
9+
10+
### Changed
11+
12+
- Refactored ChatTextArea component for better performance and maintainability
13+
- Updated ChatRow component with streamlined UI elements
14+
- Improved CodeAccordian component for enhanced code display
15+
- Enhanced useOpenRouterModelProviders hook for better model management
16+
- Updated prettyModelName utility for improved model name formatting
17+
- Refined KiloTaskHeader component with better task management
18+
- Improved GhostServiceSettings component for enhanced configuration
19+
20+
### Fixed
21+
22+
- Better handling of chat text area interactions
23+
- Improved mention chip display and functionality
24+
- Enhanced UI cleanup and consistency across components
25+
26+
---
27+
28+
## [v4.202.0] - 2025-12-18
29+
30+
### Added
31+
32+
- Enhanced UI components with improved user experience
33+
- Better error handling and display components
34+
- Improved model provider integration
35+
36+
### Changed
37+
38+
- Streamlined ChatRow component with enhanced functionality
39+
- Updated ErrorRow component for better error display
40+
- Refined AcceptRejectButtons component for improved user interaction
41+
- Enhanced CodeAccordian component for better code presentation
42+
- Improved ToolUseBlock component for better tool usage display
43+
- Updated ModelSelector component for enhanced model selection
44+
- Enhanced select-dropdown component for better user experience
45+
- Improved prettyModelName utility for better model name handling
46+
47+
### Fixed
48+
49+
- Better handling of fill-diff viewer edge cases
50+
- Enhanced UI consistency and visual improvements
51+
- Better error handling in various components
52+
53+
---
54+
355
## [v4.201.0] - 2025-12-16
456

557
### Added

packages/types/src/kilocode/kilocode.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,8 @@ export async function checkKilocodeBalance(kilocodeToken: string, kilocodeOrgani
194194

195195
export const AUTOCOMPLETE_PROVIDER_MODELS = {
196196
mistral: "codestral-latest",
197-
kilocode: "mistralai/codestral-2508",
198-
openrouter: "mistralai/codestral-2508",
197+
kilocode: "axon-mini",
198+
openrouter: "axon-mini",
199199
bedrock: "mistral.codestral-2508-v1:0",
200200
} as const
201201
export type AutocompleteProviderKey = keyof typeof AUTOCOMPLETE_PROVIDER_MODELS

src/api/providers/kilocode-models.ts

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,40 @@ export const KILO_CODE_MODELS: Record<string, KiloCodeModel> = {
9696
input_cache_writes: "0",
9797
},
9898
},
99+
// "axon-code-exp": {
100+
// id: "axon-code-exp",
101+
// name: "Axon Code Exp",
102+
// description: "Axon Code is super intelligent LLM model for coding tasks",
103+
// input_modalities: ["text"],
104+
// context_length: 256000,
105+
// max_output_length: 32768,
106+
// output_modalities: ["text"],
107+
// supported_sampling_parameters: [
108+
// "temperature",
109+
// "top_p",
110+
// "top_k",
111+
// "repetition_penalty",
112+
// "frequency_penalty",
113+
// "presence_penalty",
114+
// "seed",
115+
// "stop",
116+
// ],
117+
// supported_features: ["tools", "structured_outputs", "web_search"],
118+
// openrouter: {
119+
// slug: "matterai/axon",
120+
// },
121+
// datacenters: [{ country_code: "US" }],
122+
// created: 1750426201,
123+
// owned_by: "matterai",
124+
// pricing: {
125+
// prompt: "0.000001",
126+
// completion: "0.000004",
127+
// image: "0",
128+
// request: "0",
129+
// input_cache_reads: "0",
130+
// input_cache_writes: "0",
131+
// },
132+
// },
99133
// "gemini-3-flash-preview": {
100134
// id: "gemini-3-flash-preview",
101135
// name: "Gemini 3 Flash Preview",

src/services/ghost/GhostServiceManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ export class GhostServiceManager {
363363
}
364364

365365
this.statusBar?.update({
366-
enabled: this.settings?.enableAutoTrigger,
366+
enabled: this.settings?.enableAutoTrigger ?? true,
367367
model: this.getCurrentModelName(),
368368
provider: this.getCurrentProviderName(),
369369
hasValidToken: this.hasValidApiToken(),

src/services/ghost/classic-auto-complete/GhostInlineCompletionProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ export class GhostInlineCompletionProvider implements vscode.InlineCompletionIte
252252
// 1. It's a manual trigger (triggerKind === Invoke), OR
253253
// 2. Auto-trigger is enabled (enableAutoTrigger === true)
254254
const isManualTrigger = context.triggerKind === vscode.InlineCompletionTriggerKind.Invoke
255-
const isAutoTriggerEnabled = this.settings?.enableAutoTrigger ?? false
255+
const isAutoTriggerEnabled = this.settings?.enableAutoTrigger ?? true
256256

257257
if (!isManualTrigger && !isAutoTriggerEnabled) {
258258
// Auto-trigger is disabled and this is not a manual trigger

webview-ui/src/components/chat/ChatRow.tsx

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,10 @@ const headerStyle: React.CSSProperties = {
7979
alignItems: "center",
8080
gap: "0px",
8181
fontWeight: "600",
82+
fontSize: "12px",
8283
marginBottom: "2px",
8384
wordBreak: "break-word",
84-
color: "var(--vscode-descriptionForeground)",
85+
opacity: "0.75",
8586
flexShrink: 0,
8687
}
8788

@@ -482,7 +483,7 @@ export const ChatRowContent = ({
482483
const diffStats = computeDiffStats(fileEditDiff)
483484
return (
484485
<div className={`flex ${isExpanded ? "flex-row" : "flex-row"} gap-1 items-start`}>
485-
<div style={headerStyle} className="mt-0.5">
486+
<div style={headerStyle} className="">
486487
{tool.isProtected ? (
487488
<span
488489
className="codicon codicon-lock"
@@ -537,27 +538,15 @@ export const ChatRowContent = ({
537538
</span>
538539
) : null}
539540
{diffStats ? (
540-
<span className="text-xs text-vscode-descriptionForeground">
541+
<span className="text-xs text-vscode-descriptionForeground flex gap-1">
541542
<span style={{ color: "var(--vscode-charts-green)" }}>
542543
+{diffStats.added}
543-
</span>{" "}
544+
</span>
544545
<span style={{ color: "var(--vscode-charts-red)" }}>
545546
-{diffStats.removed}
546547
</span>
547548
</span>
548549
) : null}
549-
<div className="flex-grow" />
550-
{tool.path && (
551-
<span
552-
className="codicon codicon-link-external"
553-
style={{ fontSize: 13.5 }}
554-
onClick={(e) => {
555-
e.stopPropagation()
556-
vscode.postMessage({ type: "openFile", text: "./" + tool.path })
557-
}}
558-
aria-label={`Open file: ${tool.path}`}
559-
/>
560-
)}
561550
</div>
562551
}
563552
isLoading={message.partial}
@@ -764,7 +753,7 @@ export const ChatRowContent = ({
764753
className="group"
765754
onClick={() => vscode.postMessage({ type: "openFile", text: tool.content })}>
766755
{tool.path?.startsWith(".") && <span>.</span>}
767-
<span className="whitespace-nowrap overflow-hidden text-ellipsis text-left mr-2 rtl">
756+
<span className="whitespace-nowrap overflow-hidden text-ellipsis text-left rtl">
768757
{fileName}
769758
{tool.reason
770759
?.replace("lines", "#L")

0 commit comments

Comments
 (0)