Skip to content

Commit eb0845b

Browse files
committed
fix issue url and default agent name
1 parent 97773f1 commit eb0845b

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

crates/chat-cli/src/cli/agent/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ use crate::util::{
7171
paths,
7272
};
7373

74-
pub const DEFAULT_AGENT_NAME: &str = "q_cli_default";
74+
pub const DEFAULT_AGENT_NAME: &str = "default";
7575

7676
#[derive(Debug, Error)]
7777
pub enum AgentConfigError {

crates/chat-cli/src/cli/chat/cli/clear.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ impl ClearArgs {
2929
"\nAre you sure? This will erase the conversation history and context from hooks for the current session. "
3030
),
3131
style::Print("["),
32-
StyledText::success_fg(),
32+
StyledText::current_item_fg(),
3333
style::Print("y"),
3434
StyledText::secondary_fg(),
3535
style::Print("/"),
36-
StyledText::success_fg(),
36+
StyledText::current_item_fg(),
3737
style::Print("n"),
3838
StyledText::secondary_fg(),
3939
style::Print("]:\n\n"),

crates/chat-cli/src/cli/chat/util/issue.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ use anstream::{
55
use crossterm::style::Stylize;
66
use eyre::Result;
77

8+
use crate::constants::GITHUB_ISSUES_URL;
89
use crate::os::Os;
910
use crate::os::diagnostics::Diagnostics;
10-
use crate::util::GITHUB_REPO_NAME;
1111
use crate::util::system_info::is_remote;
1212

1313
const TEMPLATE_NAME: &str = "1_bug_report_template.yml";
@@ -71,7 +71,7 @@ impl IssueCreator {
7171
}
7272

7373
let url = url::Url::parse_with_params(
74-
&format!("https://github.com/{GITHUB_REPO_NAME}/issues/new"),
74+
GITHUB_ISSUES_URL,
7575
params.iter(),
7676
)?;
7777

crates/chat-cli/src/constants.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ pub const CLI_NAME: &str = "kiro-cli";
1111
/// Client name for authentication purposes
1212
pub const CLIENT_NAME: &str = "Kiro Developer for command line";
1313

14+
/// GitHub issues URL for bug reports and feature requests
15+
pub const GITHUB_ISSUES_URL: &str = "https://github.com/kirodotdev/Kiro/issues/new";
16+
1417
/// Error message templates
1518
pub mod error_messages {
1619
/// Standard error message for when the service is having trouble responding

crates/chat-cli/src/util/consts.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
pub const CLI_BINARY_NAME: &str = "kiro-cli";
33
pub const CHAT_BINARY_NAME: &str = "kiro-cli-chat";
44

5-
pub const GITHUB_REPO_NAME: &str = "aws/amazon-q-developer-cli";
6-
75
pub const MCP_SERVER_TOOL_DELIMITER: &str = "/";
86

97
pub const GOV_REGIONS: &[&str] = &["us-gov-east-1", "us-gov-west-1"];

0 commit comments

Comments
 (0)