Bump version to 1.6.3
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
4ba9706e35
commit
59cfd0e2f5
@@ -45,4 +45,4 @@ impl PromptContext {
|
||||
self.current_time = time.into();
|
||||
self
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -187,4 +187,4 @@ impl PromptBuilder {
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests;
|
||||
mod tests;
|
||||
|
||||
@@ -63,4 +63,4 @@ impl std::fmt::Display for Mode {
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||
f.write_str(self.label())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -157,4 +157,4 @@ You have access to tools for examining the code under review:
|
||||
- `search_codebase` — Semantic search for related implementations
|
||||
- `run_shell_command` — For read-only commands (git diff, git log, etc.)
|
||||
|
||||
Use these tools to gather context needed for a thorough review. You should read the files being changed and their surrounding context before providing feedback."#;
|
||||
Use these tools to gather context needed for a thorough review. You should read the files being changed and their surrounding context before providing feedback."#;
|
||||
|
||||
@@ -37,4 +37,4 @@ pub fn tool_usage_guidelines(mode: &Mode, provider: &Provider) -> String {
|
||||
match provider {
|
||||
Provider::Anthropic => anthropic::tool_usage_guidelines(mode),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,4 +25,4 @@ impl std::fmt::Display for Provider {
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||
f.write_str(self.label())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#[cfg(test)]
|
||||
mod prompt_builder_tests {
|
||||
use super::*;
|
||||
use crate::ai::prompt_builder::*;
|
||||
|
||||
#[test]
|
||||
fn test_code_mode_builds_successfully() {
|
||||
@@ -87,7 +87,10 @@ mod prompt_builder_tests {
|
||||
.with_mcp_tools(vec![mcp_tool.clone()])
|
||||
.build();
|
||||
|
||||
assert!(prompt.tools.iter().any(|t| t.name == "mcp__github__create_pr"));
|
||||
assert!(prompt
|
||||
.tools
|
||||
.iter()
|
||||
.any(|t| t.name == "mcp__github__create_pr"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
@@ -128,4 +131,4 @@ mod prompt_builder_tests {
|
||||
assert!(prompt.system_prompt.contains("/projects/myapp"));
|
||||
assert!(prompt.system_prompt.contains("feature/new-thing"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -218,7 +218,8 @@ fn read_mcp_resource() -> ToolDefinition {
|
||||
fn read_documents() -> ToolDefinition {
|
||||
ToolDefinition {
|
||||
name: "read_documents".to_string(),
|
||||
description: "Read the contents of one or more Galaxy notebook documents by their IDs.".to_string(),
|
||||
description: "Read the contents of one or more Galaxy notebook documents by their IDs."
|
||||
.to_string(),
|
||||
input_schema: serde_json::json!({
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -232,7 +233,8 @@ fn read_documents() -> ToolDefinition {
|
||||
fn create_documents() -> ToolDefinition {
|
||||
ToolDefinition {
|
||||
name: "create_documents".to_string(),
|
||||
description: "Create new Galaxy notebook documents with the specified title and content.".to_string(),
|
||||
description: "Create new Galaxy notebook documents with the specified title and content."
|
||||
.to_string(),
|
||||
input_schema: serde_json::json!({
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -246,7 +248,8 @@ fn create_documents() -> ToolDefinition {
|
||||
fn edit_documents() -> ToolDefinition {
|
||||
ToolDefinition {
|
||||
name: "edit_documents".to_string(),
|
||||
description: "Edit existing Galaxy notebook documents using search/replace diffs.".to_string(),
|
||||
description: "Edit existing Galaxy notebook documents using search/replace diffs."
|
||||
.to_string(),
|
||||
input_schema: serde_json::json!({
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -305,7 +308,9 @@ fn ask_user_question() -> ToolDefinition {
|
||||
fn read_skill() -> ToolDefinition {
|
||||
ToolDefinition {
|
||||
name: "read_skill".to_string(),
|
||||
description: "Read a skill definition to understand available capabilities and how to use them.".to_string(),
|
||||
description:
|
||||
"Read a skill definition to understand available capabilities and how to use them."
|
||||
.to_string(),
|
||||
input_schema: serde_json::json!({
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -328,4 +333,4 @@ fn fetch_conversation() -> ToolDefinition {
|
||||
"required": ["conversation_id"]
|
||||
}),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user